vehicle

Započeo Leon_Ariele, Mart 19, 2022, 13:53:29 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

radio sam mapu ems i stavljao vozila jedno desetak i sad ih nema kad ubacim kod pastujem ali nece i lefto sam rr komp i nece opet da mi vozila pokaze kad past code ??????????????


RemoveBuildingForPlayer(playerid, 1440, 1085.7031, -1361.0234, 13.2656, 0.25);
RemoveBuildingForPlayer(playerid, 5993, 1110.8984, -1328.8125, 13.8516, 0.25);
RemoveBuildingForPlayer(playerid, 5811, 1131.1953, -1380.4219, 17.0703, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 1141.9844, -1346.1094, 13.2656, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 1148.6797, -1385.1875, 13.2656, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 1190.7734, -1320.8594, 15.9453, 0.25);
CreateObject(3214, 678.87091, 838.37073, -35.38281,   356.85840, 0.00000, -1.04720);
CreateObject(1068, 674.74561, 840.92200, -39.56778,   0.00000, 0.00000, 0.00000);
CreateObject(969, 1136.91064, -1292.03503, 13.33285,   0.00000, 0.00000, 0.00000);
CreateObject(1412, 1148.43994, -1291.56824, 13.87253,   0.00000, 0.00000, 0.00000);
CreateObject(1412, 1134.13208, -1291.57983, 13.87253,   0.00000, 0.00000, 0.00000);
CreateVehicle(416, 1177.8749, -1339.6754, 13.9696, -90.0000, -1, -1, 100);
CreateVehicle(416, 1177.5116, -1307.6506, 13.9696, -90.0000, -1, -1, 100);
CreateVehicle(407, 1190.0037, -1320.7556, 13.0568, 0.0000, -1, -1, 100);
CreateVehicle(407, 1113.0447, -1328.7507, 13.8071, 360.0000, -1, -1, 100);
CreateVehicle(407, 1108.9895, -1328.7684, 13.8071, 360.0000, -1, -1, 100);
CreateVehicle(544, 1135.6917, -1338.6069, 13.8741, 0.0000, -1, -1, 100);
CreateVehicle(586, 1130.1932, -1329.6575, 15.1969, 0.0000, -1, -1, 100);
CreateVehicle(586, 1132.1987, -1329.6373, 15.1969, 0.0000, -1, -1, 100);
CreateVehicle(563, 1111.2913, -1307.9680, 26.4201, 0.0000, -1, -1, 100);
CreateVehicle(487, 1125.1841, -1308.3136, 25.8174, 0.0000, -1, -1, 100);

koristi AddStaticVehicle
i koristi CreateDynamicObjectEx




prvo ja tebe da pitam gde si ti ubacio ovo
[pawn]
RemoveBuildingForPlayer(playerid, 1440, 1085.7031, -1361.0234, 13.2656, 0.25);
RemoveBuildingForPlayer(playerid, 5993, 1110.8984, -1328.8125, 13.8516, 0.25);
RemoveBuildingForPlayer(playerid, 5811, 1131.1953, -1380.4219, 17.0703, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 1141.9844, -1346.1094, 13.2656, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 1148.6797, -1385.1875, 13.2656, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 1190.7734, -1320.8594, 15.9453, 0.25);
CreateObject(3214, 678.87091, 838.37073, -35.38281,   356.85840, 0.00000, -1.04720);
CreateObject(1068, 674.74561, 840.92200, -39.56778,   0.00000, 0.00000, 0.00000);
CreateObject(969, 1136.91064, -1292.03503, 13.33285,   0.00000, 0.00000, 0.00000);
CreateObject(1412, 1148.43994, -1291.56824, 13.87253,   0.00000, 0.00000, 0.00000);
CreateObject(1412, 1134.13208, -1291.57983, 13.87253,   0.00000, 0.00000, 0.00000);
CreateVehicle(416, 1177.8749, -1339.6754, 13.9696, -90.0000, -1, -1, 100);
CreateVehicle(416, 1177.5116, -1307.6506, 13.9696, -90.0000, -1, -1, 100);
CreateVehicle(407, 1190.0037, -1320.7556, 13.0568, 0.0000, -1, -1, 100);
CreateVehicle(407, 1113.0447, -1328.7507, 13.8071, 360.0000, -1, -1, 100);
CreateVehicle(407, 1108.9895, -1328.7684, 13.8071, 360.0000, -1, -1, 100);
CreateVehicle(544, 1135.6917, -1338.6069, 13.8741, 0.0000, -1, -1, 100);
CreateVehicle(586, 1130.1932, -1329.6575, 15.1969, 0.0000, -1, -1, 100);
CreateVehicle(586, 1132.1987, -1329.6373, 15.1969, 0.0000, -1, -1, 100);
CreateVehicle(563, 1111.2913, -1307.9680, 26.4201, 0.0000, -1, -1, 100);
CreateVehicle(487, 1125.1841, -1308.3136, 25.8174, 0.0000, -1, -1, 100);[/pawn]

CreateObject zameni sa CreateDynamicObject
A CreateVehicle zamenis sa AddStaticVehicle
Poslednja Izmena: Mart 20, 2022, 10:17:11 PRE PODNE od αєzαкмι

[pawn]RemoveBuildingForPlayer(playerid, 1440, 1085.7031, -1361.0234, 13.2656, 0.25);
RemoveBuildingForPlayer(playerid, 5993, 1110.8984, -1328.8125, 13.8516, 0.25);
RemoveBuildingForPlayer(playerid, 5811, 1131.1953, -1380.4219, 17.0703, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 1141.9844, -1346.1094, 13.2656, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 1148.6797, -1385.1875, 13.2656, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 1190.7734, -1320.8594, 15.9453, 0.25);
CreateDynamicObject(3214, 678.87091, 838.37073, -35.38281,   356.85840, 0.00000, -1.04720);
CreateDynamicObject(1068, 674.74561, 840.92200, -39.56778,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(969, 1136.91064, -1292.03503, 13.33285,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(1412, 1148.43994, -1291.56824, 13.87253,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(1412, 1134.13208, -1291.57983, 13.87253,   0.00000, 0.00000, 0.00000);
AddStaticVehicle(416, 1177.8749, -1339.6754, 13.9696, -90.0000, -1, -1, 100);
AddStaticVehicle(416, 1177.5116, -1307.6506, 13.9696, -90.0000, -1, -1, 100);
AddStaticVehicle(407, 1190.0037, -1320.7556, 13.0568, 0.0000, -1, -1, 100);
AddStaticVehicle(407, 1113.0447, -1328.7507, 13.8071, 360.0000, -1, -1, 100);
AddStaticVehicle(407, 1108.9895, -1328.7684, 13.8071, 360.0000, -1, -1, 100);
AddStaticVehicle(544, 1135.6917, -1338.6069, 13.8741, 0.0000, -1, -1, 100);
AddStaticVehicle(586, 1130.1932, -1329.6575, 15.1969, 0.0000, -1, -1, 100);
AddStaticVehicle(586, 1132.1987, -1329.6373, 15.1969, 0.0000, -1, -1, 100);
AddStaticVehicle(563, 1111.2913, -1307.9680, 26.4201, 0.0000, -1, -1, 100);
AddStaticVehicle(487, 1125.1841, -1308.3136, 25.8174, 0.0000, -1, -1, 100);[/pawn]
Prosto??
Zz
fakenexsus



Citat: ╲⎝⧹๖̶̶̶ζ[ɴᴇxꜱᴜꜱ]⧸⎠╱ poslato Mart 20, 2022, 11:04:59 PRE PODNE
[pawn]RemoveBuildingForPlayer(playerid, 1440, 1085.7031, -1361.0234, 13.2656, 0.25);
RemoveBuildingForPlayer(playerid, 5993, 1110.8984, -1328.8125, 13.8516, 0.25);
RemoveBuildingForPlayer(playerid, 5811, 1131.1953, -1380.4219, 17.0703, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 1141.9844, -1346.1094, 13.2656, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 1148.6797, -1385.1875, 13.2656, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 1190.7734, -1320.8594, 15.9453, 0.25);
CreateDynamicObject(3214, 678.87091, 838.37073, -35.38281,   356.85840, 0.00000, -1.04720);
CreateDynamicObject(1068, 674.74561, 840.92200, -39.56778,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(969, 1136.91064, -1292.03503, 13.33285,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(1412, 1148.43994, -1291.56824, 13.87253,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(1412, 1134.13208, -1291.57983, 13.87253,   0.00000, 0.00000, 0.00000);
AddStaticVehicle(416, 1177.8749, -1339.6754, 13.9696, -90.0000, -1, -1, 100);
AddStaticVehicle(416, 1177.5116, -1307.6506, 13.9696, -90.0000, -1, -1, 100);
AddStaticVehicle(407, 1190.0037, -1320.7556, 13.0568, 0.0000, -1, -1, 100);
AddStaticVehicle(407, 1113.0447, -1328.7507, 13.8071, 360.0000, -1, -1, 100);
AddStaticVehicle(407, 1108.9895, -1328.7684, 13.8071, 360.0000, -1, -1, 100);
AddStaticVehicle(544, 1135.6917, -1338.6069, 13.8741, 0.0000, -1, -1, 100);
AddStaticVehicle(586, 1130.1932, -1329.6575, 15.1969, 0.0000, -1, -1, 100);
AddStaticVehicle(586, 1132.1987, -1329.6373, 15.1969, 0.0000, -1, -1, 100);
AddStaticVehicle(563, 1111.2913, -1307.9680, 26.4201, 0.0000, -1, -1, 100);
AddStaticVehicle(487, 1125.1841, -1308.3136, 25.8174, 0.0000, -1, -1, 100);[/pawn]
Prosto??
ma ko zna i gde je on ubacio ovo..

Citat: αєzαкмι poslato Mart 20, 2022, 11:06:12 PRE PODNE
ma ko zna i gde je on ubacio ovo..
Da dobro pitanje @Leon_Ariele kralju gdje si ubacio to
Zz
fakenexsus



Show code pa onda create objetct i tu sam ubacio ili sam import paste nece


Prvo sam import paste pet puta rr komp da vidim do cega i onda na create objetct nece samo vehicle nece spawnat