20.04.2013, 07:11
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.
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.