Pa ne mozes obrisati samo RemoveBuildingForPlayer moras i glavne kodove te mape,ustvari zamenis ih i tjt
Citat: Mare1904 poslato Februar 20, 2018, 14:33:27 POSLE PODNE
Imam isti problem,kako si fixao?
Vrlo jednostavno,dacu ti jedan primer,razumeces :)
E ovako,prvo moras izbrisati ili zamenuti kod
RemoveBuildingForPlayer[pawn]//==========================================================================-----> BANDERA SRECE
RemoveBuildingForPlayer(playerid, 1307, 1134.062, -935.671, 42.265, 0.250);[/pawn]
Pa onda ti ide onaj
glavni kod gde ti se nalaze objekti(to isto zamenis ili obrises)
[pawn]//==========================================================================----> BANDERA SRECE
new banderasrecebyfish;
banderasrecebyfish = CreateDynamicObjectEx(3499, 1134.989135, -935.091430, 47.103889, 0.000000, 0.000000, 0.000000, 150.000,150.000);
SetDynamicObjectMaterial(banderasrecebyfish, 0, 14629, "ab_chande", "ab_goldpipe", 0x00000000);
SetDynamicObjectMaterial(banderasrecebyfish, 1, 14629, "ab_chande", "ab_goldpipe", 0x00000000);
banderasrecebyfish = CreateDynamicObjectEx(3499, 1134.989135, -935.091430, 57.853893, 0.000000, 0.000000, 0.000000, 150.000,150.000);
SetDynamicObjectMaterial(banderasrecebyfish, 0, 14629, "ab_chande", "ab_goldpipe", 0x00000000);
SetDynamicObjectMaterial(banderasrecebyfish, 1, 14629, "ab_chande", "ab_goldpipe", 0x00000000);
banderasrecebyfish = CreateDynamicObjectEx(3499, 1134.989135, -935.091430, 63.573886, 0.000000, 0.000000, 0.000000, 150.000,150.000);
SetDynamicObjectMaterial(banderasrecebyfish, 0, 14629, "ab_chande", "ab_goldpipe", 0x00000000);
SetDynamicObjectMaterial(banderasrecebyfish, 1, 14629, "ab_chande", "ab_goldpipe", 0x00000000);
banderasrecebyfish = CreateDynamicObjectEx(18764, 1135.188964, -934.886535, 67.620239, 0.000000, 0.000000, 0.000000, 150.000,150.000);
SetDynamicObjectMaterial(banderasrecebyfish, 0, 14629, "ab_chande", "ab_goldpipe", 0x00000000);
banderasrecebyfish = CreateDynamicObjectEx(18764, 1135.188964, -934.886535, 57.600254, 0.000000, 0.000000, 0.000000, 150.000,150.000);
SetDynamicObjectMaterial(banderasrecebyfish, 0, 14629, "ab_chande", "ab_goldpipe", 0x00000000);
banderasrecebyfish = CreateDynamicObjectEx(3798, 1135.068847, -935.053527, 40.197284, 0.000000, 0.000000, 0.000000, 150.000,150.000);
SetDynamicObjectMaterial(banderasrecebyfish, 0, 14629, "ab_chande", "ab_goldpipe", 0x00000000);
banderasrecebyfish = CreateDynamicObjectEx(18766, 1132.580932, -935.040466, 41.119174, 0.000000, 0.000000, 3.999999, 150.000,150.000);
SetDynamicObjectMaterial(banderasrecebyfish, 0, 4829, "airport_las", "Grass_128HV", 0x00000000);
banderasrecebyfish = CreateDynamicObjectEx(18766, 1122.964477, -935.712890, 41.119174, 0.000000, 0.000000, 3.999999, 150.000,150.000);
SetDynamicObjectMaterial(banderasrecebyfish, 0, 4829, "airport_las", "Grass_128HV", 0x00000000);
banderasrecebyfish = CreateDynamicObjectEx(18766, 1113.268432, -936.390808, 41.119174, 0.000000, 0.000000, 3.999999, 150.000,150.000);
SetDynamicObjectMaterial(banderasrecebyfish, 0, 4829, "airport_las", "Grass_128HV", 0x00000000);
banderasrecebyfish = CreateDynamicObjectEx(18766, 1104.200805, -937.024780, 41.119174, 0.000000, 0.000000, 3.999999, 150.000,150.000);
SetDynamicObjectMaterial(banderasrecebyfish, 0, 4829, "airport_las", "Grass_128HV", 0x00000000);
banderasrecebyfish = CreateDynamicObjectEx(18766, 1094.484619, -937.704284, 41.119174, 0.000000, 0.000000, 3.999999, 150.000,150.000);
SetDynamicObjectMaterial(banderasrecebyfish, 0, 4829, "airport_las", "Grass_128HV", 0x00000000);
banderasrecebyfish = CreateDynamicObjectEx(18766, 1084.798706, -938.381530, 41.119174, 0.000000, 0.000000, 3.999999, 150.000,150.000);
SetDynamicObjectMaterial(banderasrecebyfish, 0, 4829, "airport_las", "Grass_128HV", 0x00000000);
banderasrecebyfish = CreateDynamicObjectEx(18766, 1139.703735, -934.542602, 41.119174, 0.000000, 0.000000, 3.999999, 150.000,150.000);
SetDynamicObjectMaterial(banderasrecebyfish, 0, 4829, "airport_las", "Grass_128HV", 0x00000000);
//==========================================================================/////////////////////////////////////
//==========================================================================/////////////////////////////////////
//==========================================================================/////////////////////////////////////
//banderasrecebyfish = CreateDynamicObjectEx(1368, 1134.897338, -939.257934, 42.562442, 0.000000, 0.000000, -176.099990, 150.000,150.000);
//banderasrecebyfish = CreateDynamicObjectEx(1368, 1138.209472, -939.032226, 42.562442, 0.000000, 0.000000, -176.099990, 150.000,150.000);
//banderasrecebyfish = CreateDynamicObjectEx(1368, 1131.466064, -939.491577, 42.562442, 0.000000, 0.000000, -176.099990, 150.000,150.000);
//banderasrecebyfish = CreateDynamicObjectEx(1368, 1128.604003, -938.518249, 42.562442, 0.000000, 0.000000, 143.499984, 150.000,150.000);
//banderasrecebyfish = CreateDynamicObjectEx(1368, 1140.356567, -937.313720, 42.632446, 0.000000, 0.000000, -119.400039, 150.000,150.000);
banderasrecebyfish = CreateDynamicObjectEx(1215, 1144.416625, -934.240844, 43.721370, 0.000000, 0.000000, 3.999999, 150.000,150.000);
banderasrecebyfish = CreateDynamicObjectEx(1215, 1136.495727, -934.794372, 43.721370, 0.000000, 0.000000, 3.999999, 150.000,150.000);
banderasrecebyfish = CreateDynamicObjectEx(1215, 1140.246337, -934.532043, 43.721370, 0.000000, 0.000000, 3.999999, 150.000,150.000);
banderasrecebyfish = CreateDynamicObjectEx(1215, 1130.120849, -935.240112, 43.721370, 0.000000, 0.000000, 3.999999, 150.000,150.000);
banderasrecebyfish = CreateDynamicObjectEx(1215, 1122.739013, -935.756164, 43.721370, 0.000000, 0.000000, 3.999999, 150.000,150.000);
banderasrecebyfish = CreateDynamicObjectEx(1215, 1116.414672, -936.198364, 43.721370, 0.000000, 0.000000, 3.999999, 150.000,150.000);
banderasrecebyfish = CreateDynamicObjectEx(1215, 1110.609252, -936.604492, 43.721370, 0.000000, 0.000000, 3.999999, 150.000,150.000);
banderasrecebyfish = CreateDynamicObjectEx(1215, 1104.165161, -937.054931, 43.721370, 0.000000, 0.000000, 3.999999, 150.000,150.000);
banderasrecebyfish = CreateDynamicObjectEx(1215, 1097.301757, -937.534667, 43.721370, 0.000000, 0.000000, 3.999999, 150.000,150.000);
banderasrecebyfish = CreateDynamicObjectEx(1215, 1090.906982, -937.981628, 43.721370, 0.000000, 0.000000, 3.999999, 150.000,150.000);[/pawn]
I kada si sve to uradio ili sacuvas ako ti je #include pa te mape ili jednostavno compile taj file :)