if(IsPlayerInVehicle(playerid, ID))
#4

When you don't want to use IsPlayerInVehicle. They both do the same thing, but you evaluate the vehicleid in different ways. IsPlayerInVehicle checks if the player is in the provided vehicleid whereas GetPlayerVehicleID simply returns the player's current vehicleid.
Reply


Messages In This Thread
if(IsPlayerInVehicle(playerid, ID)) - by cruising - 13.01.2012, 10:10
Re: if(IsPlayerInVehicle(playerid, ID)) - by JamesC - 13.01.2012, 10:46
Re: if(IsPlayerInVehicle(playerid, ID)) - by cruising - 13.01.2012, 10:58
Re: if(IsPlayerInVehicle(playerid, ID)) - by JamesC - 13.01.2012, 11:01
Re: if(IsPlayerInVehicle(playerid, ID)) - by cruising - 13.01.2012, 11:18

Forum Jump:


Users browsing this thread: 2 Guest(s)