26.05.2012, 07:28
It depends where you are putting that code. If your putting it in OnPlayerEnterVehicle it wont work. However if you put it in OnPlayerStateChange and check if the newstate is PLAYER_STATE_DRIVER then remove them from vehicle. That should work.
OnPlayerEnterVehicle is called before the player actually enters the vehicle. As soon as they press enter it's called.
OnPlayerEnterVehicle is called before the player actually enters the vehicle. As soon as they press enter it's called.