if(IsPlayerInVehicle(playerid, ID))
#5

Quote:
Originally Posted by JamesC
Посмотреть сообщение
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.
Ah ok thanks again!

But GetVehicleModel did disable the commands funktion, so nothing did happen when i added model 476 and was sitting in a rustler.

And why does these commands call every player? if you and i sits in a rustler..both of us gets the rockets and if you /unload, you also unload for me. I have tried to fix this for like 2 hours now and im stuck.
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: 1 Guest(s)