Why the hell names doesn't show up on my menu ???
here is the code:
PHP Code:
new TYPE:mode[64];
enum TYPE
{
NONE = 0,
NEW = 1,
OLD = 2
}
client_connect(id){
TYPE:mode[id] = NONE;
}
new mode1[256]
formatex(mode1, 255, "You are [ %s ]", TYPE:mode[id])
menu_additem(menu, mode1, "1", 0);
Ir show me like
You are [ ]
where is the problem ??