[ERRO] O que tem de errado nisso ?
#1

Comando:

PHP код:
if(strcmp(cmd"/hdisfarce"true) == 0)
    {
        if(
PlayerToPoint(5.0,playerid,1107.5999755859,-316.79998779297,74.699996948242))
        {
            if(
PlayerInfo[playerid][pLider] == || PlayerInfo[playerid][pMembro] == 8)
            {
                  new 
x_apet[256];
                
x_apet strtok(cmdtextidx);
                if(!
strlen(x_apet)) {
                    
SendClientMessage(playeridCOLOR_LIGHTGREEN"|__________________Disfarce__________________|");
                    
SendClientMessage(playeridCOLOR_WHITE"Use: /hdisfarce [Nome] para mudar sua roupa.");
                    
SendClientMessage(playeridCOLOR_WHITE"Nomes Validos: Civil,Pmls,Bope,PC");
                    
SendClientMessage(playeridCOLOR_WHITE"Nomes Validos: Grove,Balas,Vagos,Aztecas,Mendingo");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE"Para escolher sua roupa use, Ex: /hdisfarce bope");
                    
SendClientMessage(playeridCOLOR_LIGHTGREEN"|____________________________________________|");
                    return 
1; }
                    if(
strcmp(x_apet,"civil",true) == 0)
                {
                        
SendClientMessage(playerid,COLOR_WHITE"Vocк se disfarзou de Civil.");
                        
SetPlayerColor(playeridCOLOR_WHITE);
                        
SetPlayerSkin(playerid2);
                        return 
1;
                }
                   if(
strcmp(x_apet,"pmls",true) == 0)
                {
                        
SendClientMessage(playerid,COLOR_WHITE"Vocк se disfarзou de Policia Militar.");
                        
SetPlayerColor(playeridCOLOR_WHITE);
                        
SetPlayerSkin(playerid,280);
                    return 
1;
                }
                   if(
strcmp(x_apet,"BOPE",true) == 0)
                {
                        
SendClientMessage(playerid,COLOR_WHITE"Vocк se disfarзou de BOPE.");
                        
SetPlayerColor(playeridCOLOR_WHITE);
                        
SetPlayerSkin(playerid,285);
                    return 
1;
                }
                   if(
strcmp(x_apet,"aztecas",true) == 0)
                {
                        
SendClientMessage(playerid,COLOR_WHITE"Vocк se disfarзou de Aztecas.");
                        
SetPlayerColor(playeridCOLOR_WHITE);
                        
SetPlayerSkin(playerid,115);
                    return 
1;
                }
                   if(
strcmp(x_apet,"pc",true) == 0)
                {
                        
SendClientMessage(playerid,COLOR_WHITE"Vocк se disfarзou de Policia Civil.");
                        
SetPlayerColor(playeridCOLOR_WHITE);
                        
SetPlayerSkin(playerid,59);
                    return 
1;
                }
                   if(
strcmp(x_apet,"balas",true) == 0)
                {
                        
SendClientMessage(playerid,COLOR_WHITE"Vocк se disfarзou de balas.");
                        
SetPlayerColor(playeridCOLOR_WHITE);
                        
SetPlayerSkin(playerid,102);
                    return 
1;
                }
                   if(
strcmp(x_apet,"vagos",true) == 0)
                {
                        
SendClientMessage(playerid,COLOR_WHITE"Vocк se disfarзou de vagos.");
                        
SetPlayerColor(playeridCOLOR_WHITE);
                        
SetPlayerSkin(playerid,109);
                    return 
1;
                }
                   if(
strcmp(x_apet,"grove",true) == 0)
                {
                        
SendClientMessage(playerid,COLOR_WHITE"Vocк se disfarзou de Groove.");
                        
SetPlayerColor(playeridCOLOR_WHITE);
                        
SetPlayerSkin(playerid,107);
                    return 
1;
                }
                   if(
strcmp(x_apet,"mendingo",true) == 0)
                {
                        
SendClientMessage(playerid,COLOR_WHITE"Vocк se disfarзou de Mendingo.");
                        
SetPlayerColor(playeridCOLOR_WHITE);
                        
SetPlayerSkin(playerid,78);
                    return 
1;
                }
            }
            else
            {
                
SendClientMessage(playeridCOLOR_LIGHTGREEN"Este comando nгo existe.");
            }
        }
        else
        {
            
SendClientMessage(playeridCOLOR_LIGHTGREEN"Vocк nгo estб no Vestiario.");
        }
    } 
ERRO:

PHP код:
C:\Users\Windows\Documents\Meus arquivos recebidos\[GMGodfather Traduzido\[GMGodfather traduzido\GodFather.pwn(8151) : error 017undefined symbol "pLider"
C:\Users\Windows\Documents\Meus arquivos recebidos\[GMGodfather Traduzido\[GMGodfather traduzido\GodFather.pwn(8154) : warning 217loose indentation
C
:\Users\Windows\Documents\Meus arquivos recebidos\[GMGodfather Traduzido\[GMGodfather traduzido\GodFather.pwn(8162) : warning 217loose indentation
C
:\Users\Windows\Documents\Meus arquivos recebidos\[GMGodfather Traduzido\[GMGodfather traduzido\GodFather.pwn(8175) : warning 217loose indentation
C
:\Users\Windows\Documents\Meus arquivos recebidos\[GMGodfather Traduzido\[GMGodfather traduzido\GodFather.pwn(8182) : warning 217loose indentation
C
:\Users\Windows\Documents\Meus arquivos recebidos\[GMGodfather Traduzido\[GMGodfather traduzido\GodFather.pwn(8189) : warning 217loose indentation
C
:\Users\Windows\Documents\Meus arquivos recebidos\[GMGodfather Traduzido\[GMGodfather traduzido\GodFather.pwn(8196) : warning 217loose indentation
C
:\Users\Windows\Documents\Meus arquivos recebidos\[GMGodfather Traduzido\[GMGodfather traduzido\GodFather.pwn(8203) : warning 217loose indentation
C
:\Users\Windows\Documents\Meus arquivos recebidos\[GMGodfather Traduzido\[GMGodfather traduzido\GodFather.pwn(8210) : warning 217loose indentation
C
:\Users\Windows\Documents\Meus arquivos recebidos\[GMGodfather Traduzido\[GMGodfather traduzido\GodFather.pwn(8217) : warning 217loose indentation
C
:\Users\Windows\Documents\Meus arquivos recebidos\[GMGodfather Traduzido\[GMGodfather traduzido\GodFather.pwn(8224) : warning 217loose indentation 
Reply
#2

o Erro й porquк nгo existe pLider na enum.

E os Warnings й mal indentaзгo.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)