10.08.2015, 01:46
Well, when a player tries to enter a vehicle its teleports them ontop of the driver side rooftop. and then to the driver side door. here is an example.
Video
Video
|
OnVehicleEnter isn't a native SA-MP callback. It seems like maybe you use SetPlayerPos right after RemovePlayerFromVehicle - causing them to first teleport and then have exited the vehicle.
|
stock RemovePlayerFromVehicleEx(playerid)
{
DeletePVar(playerid,"SeatID");
TogglePlayerControllableEx(playerid,true);
return RemovePlayerFromVehicle(playerid);
}