Please help me finish my /destroyallvehicles command
#7

May I suggest you to use another command processor?

Most famous are zcmd and ycmd, you can find their threads in the forums.
Here is an example with zmcd

PHP код:
CMD:destroyallvehicles(playeridparams[])
{
    if(!
IsPlayerAdmin(playerid) && PlayerInfo[playerid][pAdmin] < 5){
        return 
SendClientMessage(playerid, -1"You need to be RCON Admin or Level 5 Administrator to do that");
    }
    for(new 
iMAX_VEHICLES!= ji++){
        if(
IsValidVehicle(i)){
            
DestroyVehicle(i);
        }
    }
    
SendClientMessage(playerid, -1"Vehicles Destroyed");
    return 
1;

;
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)