Command help
#2

In order to check the vehicle id you have to make sure that the player is in a vehicle by using IsPlayerInAnyVehicle or GetPlayerState , after that you can do vehicleid = GetPlayerVehicleID(playerid) and that is how you get the id of the vehicle. After that you can check model of the veh, pos , params, pretty much everything that required the vehicle id.
Reply


Messages In This Thread
Command help - by Banditul18 - 27.10.2015, 19:35
Re: Command help - by thefirestate - 27.10.2015, 20:15
Re: Command help - by Banditul18 - 27.10.2015, 20:45

Forum Jump:


Users browsing this thread: 1 Guest(s)