error 021: symbol already defined
#2

Don't do it like that.

PHP код:
enum EventInfo 

Float:Xq,        Float:Yq,        Float:Zq,        Float:Aq
Nome[64],        Aberto,        Criado,            Cerrado
Premio1,        Premio2,        Premio3,        PremioS
Cor1,            Cor2,            Arma,            Admin,  // Admin[64] Why 64?     
Vida
}; 
new 
Player[MAX_PLAYERS][EventInfo];
if(
Player[playerid][Criado] == 0)  
    {  
        
ShowPlayerDialog(playeridDIALOG_EVENTODIALOG_STYLE_LIST"Own Event: Closed"Mensagem"Selecc""Cancel");  
    }  
    else if(
Player[playerid][Criado] == 1)   
    {  
        new 
StrE75 ];  
        
format(StrE,sizeof(StrE),"Own Event: Opened by %s",Player[playerid][Admin]); //Still think we need a GetName Function here
        
ShowPlayerDialog(playeridDIALOG_EVENTODIALOG_STYLE_LISTStrEMensagem"Selecc""Cancel");  
    } 
Read up more on Enums here
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)