30.03.2015, 16:06
You could also just do:
pawn Код:
RemoveAllPassengers(vehicleid)
{
foreach(new i: Player)
{
if(GetPlayerState(i) == PLAYER_STATE_PASSENGER && IsPlayerInVehicle(i, vehicleid))
{
RemovePlayerFromVehicle(i);
}
}
return 1;
}