AddStaticVehicle
#1

Hello i downloaded a gamemode and all vehicles are like this type:
Код:
AddStaticVehicleEx(567,2428.6999512,-1643.6999512,13.5000000,0.0000000,16,16,SPAWN_CAR); //Savanna
I just want create the vehicle without that SPAWN_CAR.
Reply
#2

AddStaticVehicle?
Reply
#3

Quote:
Originally Posted by oMa37
Посмотреть сообщение
I changed it and i got error,
Код:
AddStaticVehicleEx(489,2448.3999023,-1671.0000000,13.8999996,0.0000000,16,16);
Error:
Код:
C:\Users\Usuario\Desktop\Karol\GangWars\gamemodes\Gangwars.pwn(719) : warning 202: number of arguments does not match definition
Reply
#4

AddStaticVehicle
Код:
AddStaticVehicle(modelid, Float:spawn_X, Float:spawn_Y, Float:spawn_Z,Float:angle, color1, color2);
example
Код:
 sultan black color primary
AddStaticVehicle(560, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1);
AddStaticVehicleEx
Код:
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay, addsiren=0)
example
Код:
 
sultan after leave 2 second vehicle back to respawn pos
AddStaticVehicleEx (560, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 0, 2);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)