[FilterScript] Login/Register system by y_ini (v1)
#3

Quote:
Originally Posted by AndySedeyn
Посмотреть сообщение
While it's something trivial, I recommend putting dialogs in an enum to avoid possible ID collisions:
PHP код:
enum  {
    
DIALOG_REGISTER,
    
DIALOG_LOGIN,
    
DIALOG_SUCCESS_1,
    
DIALOG_SUCCESS_2
}; 
so if i use
PHP код:
enum {
DIALOG_BLAH
DIALOG_X
}; 
^^ in gamemode
and in a filterscript
PHP код:
enum {
DIALOG_Y
DIALOG_Z
}; 
it wont conflict?
Reply


Messages In This Thread
Login/Register system by y_ini (v1) - by JohnBlaze1971 - 05.04.2016, 10:09
Re: Login/Register system by y_ini (v1) - by AndySedeyn - 05.04.2016, 10:44
Re: Login/Register system by y_ini (v1) - by xTURBOx - 05.04.2016, 16:07
Re: Login/Register system by y_ini (v1) - by AndySedeyn - 05.04.2016, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)