error 021: symbol already defined
#1

How could you solve this error?


Код:
 error 021: symbol already defined: "EventInfo"
PHP код:
enum EventInfo
{
Float:Xq,        Float:Yq,        Float:Zq,        Float:Aq,
Nome[64],        Aberto,        Criado,            Cerrado,
Premio1,        Premio2,        Premio3,        PremioS,
Cor1,            Cor2,            Arma,            Admin[64],        
Vida,
};
new 
EventInfo[MAX_PLAYERS]; 
PHP код:
//Line where it gives the error
 
if(EventInfo[Criado] == 0)//error 
    

        
ShowPlayerDialog(playeridDIALOG_EVENTODIALOG_STYLE_LIST"Own Event: Closed"Mensagem"Selecc""Cancel"); 
    } 
    else if(
EventInfo[Criado] == 1//error 
    

        new 
StrE[1000]; 
        
format(StrE,sizeof(StrE),"Own Event: Opened by %s",EventInfo[Admin]);
        
ShowPlayerDialog(playeridDIALOG_EVENTODIALOG_STYLE_LISTStrEMensagem"Selecc""Cancel"); 
    } 
Reply


Messages In This Thread
error 021: symbol already defined - by Johangelo1 - 23.03.2017, 15:39
Re: error 021: symbol already defined - by ISmokezU - 23.03.2017, 15:42
Respuesta: error 021: symbol already defined - by Johangelo1 - 23.03.2017, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)