I think the only way to do this is using the function PutPlayerInVehicle under OnPlayerExitVehicle. Using TogglePlayerControllable freezes the player entirely
Well, He can use
PHP код:
Clearplayeranimation(playerid)
to easily prevent the player from exiting the vehicle.