Teleport with Vehicle Help
#4

i recommend
pawn Код:
if(IsPlayerInAnyVehicle(playerid))
instead of
pawn Код:
if(GetPlayerState(playerid) == 2)
because if(GetPlayerState(playerid) == 2) teleports the vehicle only if "playerid" is driver on the other hand if(IsPlayerInAnyVehicle(playerid)) does for both (if DRIVER/PASSENGER)
Reply


Messages In This Thread
Teleport with Vehicle Help - by Alexy_Dramon - 15.03.2012, 18:14
Re: Teleport with Vehicle Help - by Unknownich - 15.03.2012, 18:41
Re: Teleport with Vehicle Help - by Alexy_Dramon - 15.03.2012, 19:10
Re: Teleport with Vehicle Help - by [KHK]Khalid - 16.03.2012, 01:28

Forum Jump:


Users browsing this thread: 1 Guest(s)