15.11.2011, 13:50
Destroy the tram then
pawn Код:
CMD:tramexit(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid)) {
if(GetPlayerVehicleID(playerid) == tram) {
RemovePlayerFromVehicle(playerid);
DestroyVehicle(tram);
}
}
return 1;
}