16.03.2012, 01:28
i recommend
instead of
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)
pawn Код:
if(IsPlayerInAnyVehicle(playerid))
pawn Код:
if(GetPlayerState(playerid) == 2)