/destroyallcars command help
#1

How i can make /destroyallcars - this command to destroy all cars i the game
Reply
#2

create a loop then destroyvehicle
Reply
#3

i don't know how to make it
Reply
#4

Using DCMD

pawn Код:
dcmd_destroyallvehicles(playerid, params[])
{
     for(new i; i > MAX_VEHICLES; i++)
     {DestroyVehicle(i);}
     return 1;
}
Reply
#5

pawn Код:
CMD:dvehs(playerid, params[])
{
    for(new i; i < MAX_VEHICLES; i++)
    {
        DestroyVehicle(i);
    }
}
I think thats the function.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)