22.10.2014, 03:58
no you don't, probably you were trying to use this command on foot before.
It tells the server that you must be in any vehicle in order to use this command.
This will check if the player is not only in a vehicle, but if he is the driver as well.
It tells the server that you must be in any vehicle in order to use this command.
pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)