Hello! I'm trying to do a plugin with this array:
PHP Code:
new bool:g_playerFirstEnter_Menu[33][MAX_PAGES_MENU-1] // Where 33 is the id of player and MAX_PAGES_MENU a define that sets max pages of a menu
I tried to set every slot to true. But I don't know exactly how to do this, so I tried 2 ways:
PHP Code:
//client_putinserver(id)...
for(new i = 0; i < MAX_PAGES_MENU-1; i++)
g_playerFirstEnter_Menu[id][i] = true
and:
PHP Code:
new bool:g_playerFirstEnter_Menu[33][MAX_PAGES_MENU-1] = {true, ...}
But none of them works... What can I do?