showing unknown command
#1

Removed, thanks for the help!
Reply
#2

It happens to you when you call the command array field that does not exist.. just ignore it
Reply
#3

pawn Код:
CMD:rac(playerid,params[]) {
    if(PlayerInfo[playerid][Level] >=6)
   {
        SendClientMessage(playerid,COLOR_WHITE," All empty cars were respawned !");
        for(new v=0;v<MAX_VEHICLES;v++)
        {
        if(!IsVehicleOccupied(v)) EraseVehicle(v);
        return 1;
        }
        else
        {
        SendClientMessage(playerid, red, "ERROR: You must be admin to use this command!");
        }
        return 1;
}
Maybe it works
Reply
#4

pawn Код:
CMD:rac(playerid,params[]) {
    if(PlayerInfo[playerid][Level] >=6) {
        SendClientMessage(playerid,COLOR_WHITE," All empty cars were respawned !");
        for(new v=0;v<MAX_VEHICLES;v++) if(!IsVehicleOccupied(v)) EraseVehicle(v); return 1;}
    else {
        SendClientMessage(playerid, red, "ERROR: You must be admin to use this command!");}
        return 1;}
Reply
#5

PHP код:
CMD:rac(playerid,params[])
{
    if(
PlayerInfo[playerid][Level] >=6)
    {
        
SendClientMessage(playerid,COLOR_WHITE," All empty cars were respawned !");
        for(new 
v=0;v<MAX_VEHICLES;v++)
        {
              if(!
IsVehicleOccupied(v))
             {
                 
EraseVehicle(v);
                  return 
1;
              }
        }
      else if(
PlayerInfo[playerid][Level] < 6)
      {
        
SendClientMessage(playeridred"ERROR: You must be admin to use this command!");
        return 
1;
    }

Reply
#6

Still not working.
Reply
#7

DUMP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)