30.04.2012, 22:31
Oh yea, you can't use "RemovePlayerFromVehicle" function under the OnPlayerEnterVehicle. Why? Well, OnPlayerEnterVehicle is called when the player presses RETURN or F button to enter the vehicle, while RemovePlayerVehicle can be used only on players who are already in the vehicle. Try using "ClearAnimations(playerid)" function, so:
Hope I helped. 
Or, if you still want to use the RemovePlayerFromVehicle function, you can use OnPlayerStateChange callback. But that would mean changing your whole script.
pawn Код:
// instead of RemovePlayerFromVehicle, use
ClearAnimations(playerid);

Or, if you still want to use the RemovePlayerFromVehicle function, you can use OnPlayerStateChange callback. But that would mean changing your whole script.

