[Ajuda] Comando nгo existe
#1

Oque tem de errado no meu comando, sempre quando digito /rcars fala que o comando nгo existe...
PHP код:
    CMD:rcars(playeridparams[])
    {
        
#pragma unused params
        
if(Player[playerid][pAdmin] < 4)
            return 
SendFormatMsg(playerid0xFFFFFFAA"{FF0000}|ERRO|{FFFFFF} Vocк nгo tem permissгo para usar este comando!");
        new 
bool:unwanted[CAR_AMOUNT];
        for(new 
player=0player <= HighestIDplayer++)
        {
               if(
IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
        }
        for(new 
car 1car <= CAR_AMOUNTcar++)
        {
            if(
VehicleInfo[car][vPRFLock] != 1)
            {
                
SetVehicleToRespawn(car);
            }
            if(!
unwanted[car]) //=============percebi que o erro estб aqui, mais nгo vejo o motivo que o causa...
            
{
                
SetVehicleToRespawn(car);
            }
        }
        
format(thestringsizeof(thestring), "[Administrador] Veнculos inutilizados resetados por %s."Player[playerid][pName]);
        
BroadCast(COLOR_NOTICIAthestring);
        return 
1;
    } 
Reply


Messages In This Thread
Comando nгo existe - by Jorge-IN - 21.11.2013, 14:05
Re: Comando nгo existe - by PT - 21.11.2013, 14:33
Re: Comando nгo existe - by Jorge-IN - 21.11.2013, 14:38
Re: Comando nгo existe - by Jorge-IN - 21.11.2013, 14:42
Re: Comando nгo existe - by PT - 21.11.2013, 14:44
Re: Comando nгo existe - by Kmatsu - 21.11.2013, 14:51
Re: Comando nгo existe - by Jorge-IN - 21.11.2013, 14:51
Re: Comando nгo existe - by Jorge-IN - 21.11.2013, 14:55

Forum Jump:


Users browsing this thread: 1 Guest(s)