This doesn't work well (GetPlayerVehicleID)
#5

OnPlayerEnterVehicle will be only called, if the player attempts to enter a vehicle.
Means that, if a player applies the "enter vehicle" animation, the player is sill not inside the vehicle. Players can refuse or getting smashed from the vehicle after the "enter vehicle" animation.

You should use OnPlayerStateChange to check, if the player has entered or exited a vehicle safely.
Reply


Messages In This Thread
This doesn't work well (GetPlayerVehicleID) - by LeeXian99 - 20.04.2013, 06:45
Re: This doesn't work well (GetPlayerVehicleID) - by Faisal_khan - 20.04.2013, 07:02
Re: This doesn't work well (GetPlayerVehicleID) - by newbienoob - 20.04.2013, 07:07
Re: This doesn't work well (GetPlayerVehicleID) - by LeeXian99 - 20.04.2013, 07:09
AW: This doesn't work well (GetPlayerVehicleID) - by BigETI - 20.04.2013, 07:11
Re: This doesn't work well (GetPlayerVehicleID) - by czop1223 - 20.04.2013, 07:11
Re: This doesn't work well (GetPlayerVehicleID) - by LeeXian99 - 20.04.2013, 07:14
Re: This doesn't work well (GetPlayerVehicleID) - by czop1223 - 20.04.2013, 07:25

Forum Jump:


Users browsing this thread: 1 Guest(s)