Detect driver?
#1

How do i make a command detect if the player is the driver of the vehicle?
Reply
#2

Use GetPlayerState function.

https://sampwiki.blast.hk/wiki/GetPlayerState
Reply
#3

pawn Код:
if(GetPlayerState(playerid)== PLAYER_STATE_DRIVER)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)