alot of vehicles how to clear
#2

........
Very bad code .... but np try this:
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    SetTimerEx("DesVeh", 10000, 0, "i", vehicleid);
    return 1;
}

forward DesVeh(vehid);
public DesVeh(vehid)
{
    for(new i;i<MAX_PLAYERS;i++)
    {
        if(IsPlayerConnected(i))
        {
            if(IsPlayerInVehicle(i, vehid)) return 1;
        }
    }
    return DestroyVehicle(vehid);
}
Reply


Messages In This Thread
alot of vehicles how to clear - by MahdiGames - 16.01.2014, 04:36
Re: alot of vehicles how to clear - by Aliassassin123456 - 16.01.2014, 04:45
Re: alot of vehicles how to clear - by MahdiGames - 16.01.2014, 04:53
Re: alot of vehicles how to clear - by Aliassassin123456 - 16.01.2014, 05:03
Re: alot of vehicles how to clear - by Threshold - 16.01.2014, 05:08
Re: alot of vehicles how to clear - by MahdiGames - 16.01.2014, 05:12

Forum Jump:


Users browsing this thread: 3 Guest(s)