OnPlayerEnterVehicle
#1

Hi. How to check is player going to sit on driver place or on passanger place.... I need this on "OnPlayerEnterVehicle" not on OnPlayerStateChange...
Is there any way to recognize this ?

I try this: I check "GetPlayerKeys" on "OnPlayerEnterVehicle" but this function nothing do :/ I hope you understand me (Sry for bad eng)
Thanks in advance!
Reply
#2

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

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(!ispassenger) // driver
//stuff
else if(ispassenger) // passenger
//stuff
}
Reply
#4

I need this thanks
Reply
#5

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


Forum Jump:


Users browsing this thread: 1 Guest(s)