/clear cmd help
#1

i want to make a /clear command that removes all spawned vehicles,ive searched and found nothing good

ps for rcon only

pls help
Reply
#2

You're asking for something like this?
pawn Код:
COMMAND:destroyallvehicles(playerid, params[])
{
    if(IsPlayerAdmin(playerid))
    {
        for(new c=1;c<MAX_VEHICLES;c++)
        {
            DestroyVehicle(c);
        }
    }
    return true;
}
and BTW: https://sampforum.blast.hk/showthread.php?tid=187229
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)