03.03.2011, 21:53
I would do something like this:
pawn Код:
new bool : Kidnapped[MAX_PLAYERS];
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(Kidnapped[playerid] == true)
{
//return 0; If returning 0 here doesn't work.
//PutPlayerInVehicle(playerid, vehicleid, GetPlayerSeat(playerid)); Try this.
//if none of the above works, try clearing the player animation.
}
return 1;
}