How to delete all car's
#5

Quote:
Originally Posted by Riddy
Посмотреть сообщение
Here you go:


pawn Код:
if(strcmp(cmdtext, "/destroyallvehicles", true) == 0)
{
    for(new v = 0; v < MAX_VEHICLES; v++)
    {
        DestroyVehicle(v);
        SendClientMessage(playerid, -1, "All vehicles have been destroyed");
    }
    return 1;
}

If ZCMD is the Command Proccesor

pawn Код:
CMD:destroyallvehicles(playerid, params[])
{
    for(new v = 0; v < MAX_VEHICLES; v++)
    {
        DestroyVehicle(v);
        SendClientMessage(playerid, -1, "All vehicles have been destroyed");
    }
    return 1;
}
Noob question, but where do i place this? like what files name?
Reply


Messages In This Thread
How to delete all car's - by Projects - 04.01.2013, 15:14
Re: How to delete all car's - by Riddy - 04.01.2013, 15:58
Re: How to delete all car's - by telmo_ferreira - 04.01.2013, 16:02
Re: How to delete all car's - by Riddy - 04.01.2013, 16:09
Re: How to delete all car's - by Projects - 04.01.2013, 16:12
Re: How to delete all car's - by XProtocol - 04.01.2013, 16:41
Re: How to delete all car's - by kaisersouse - 04.01.2013, 16:47

Forum Jump:


Users browsing this thread: 1 Guest(s)