Check if the player is the vehicle driver function
#1

What is the function to check if the player if the driver of a vehicle and not a passenger.
Reply
#2

I'm not sure if there's a function to check if they're just driver..

If there's not, you could probably code one.
Reply
#3

Код:
if(GetPlayerState(playerid)==PLAYER_STATE_DRIVER)
{
//someting
}
Cheers
Reply
#4

Zer0, I wanna make a script so only the driver of the vehicle can use the /exit command to exit the vehicle and not the passengers too.
Reply
#5

Thanks so much RaF
Reply
#6

Quote:
Originally Posted by BugsY
Thanks so much RaF
You're welcome
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)