[Ajuda] warning 202: number of arguments does not match definition
#2

PHP код:
//Caso nгo tenha adcione o dcmd no gm
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
public OnPlayerCommandText(playeridcmdtext[])
{
dcmd(reparar,7,cmdtext);//Caso nгo tenha
return 0;
}
dcmd_reparar(playeridparams[])
{
    
#pragma unused params
    
if(LimiteReparar[playerid] == 1)
    {
        
        
SCM(playeridCOR_ERRO"{FF0030}[ERRO]: {FFFFFF}Faltam %s para vocк reparar novamente."Convert(Player[playerid][pTempoReparar]));
        return 
1;
    }
    if(
GetPlayerMoney(playerid) >= 500)
    {
        
        if(
IsPlayerInAnyVehicle(playerid))
        {
            
            
RepairVehicle(GetPlayerVehicleID(playerid));
            
SCM(playerid0x33AAFFFF"Seu veнculo foi reparado com sucesso.");
            
GivePlayerMoney(playerid, -500);
            
LimiteReparar[playerid] = 1;
            
SetTimerEx("TempoReparar"120000false"i"playerid);
        }
        else
        {
            
            
SCM(playeridCOR_ERRO"{FF0030}[ERRO]: {FFFFFF}Vocк nгo estб em um veнculo.");
            return 
1;
        }
    }
    else
    {
        
        
SCM(playeridCOR_ERRO"{FF0030}[ERRO]: {FFFFFF}Vocк nгo tem verbas suficientes! Precisa de $500!");
        return 
1;
    }
    return 
1;

Reply


Messages In This Thread
warning 202: number of arguments does not match definition - by Raridade - 08.02.2018, 08:55
Re: warning 202: number of arguments does not match definition - by Marllun - 08.02.2018, 09:00
Re: warning 202: number of arguments does not match definition - by Raridade - 08.02.2018, 09:11
Re: warning 202: number of arguments does not match definition - by PilateGR - 08.02.2018, 11:10
Re: warning 202: number of arguments does not match definition - by JohnBlack - 08.02.2018, 16:24

Forum Jump:


Users browsing this thread: 1 Guest(s)