I changed it from 512 to 2048 and keys from 511 to 2047 and i still have the same thing
PHP Code:
public show_zclass_menu(id,offset)
{
if(offset<0) offset = 0
new keys, curnum, menu[2048], szCache1[32], szCache2[32], iCache3
for(new i=offset;i<g_iZClasses;i++)
{
ArrayGetString(g_zclass_name, i, szCache1, charsmax(szCache1))
ArrayGetString(g_zclass_info, i, szCache2, charsmax(szCache2))
iCache3 = ArrayGetCell(g_zclass_lvl, i)
// Add to menu
if (i == g_iZombieClass[id])
format(menu,2047,"%s^n\r[\d%d\r].\d %s \r[ \y%s\r ] \d(Level :: %d) \r-=\wSELECTED\r=-", menu, curnum+1, szCache1, szCache2, iCache3)
else
format(menu,2047,"%s^n\r[\w%d\r].\w %s \r[ \y%s\r ] \r(\wLevel\r ::\w %d\r)", menu, curnum+1, szCache1, szCache2, iCache3)
g_iMenuOptions[id][curnum] = i
keys += (1<<curnum)
curnum++
if(curnum==8)
break;
}
format(menu,2047,"\ySelect Your Class:^n\r%s^n", menu)
if(curnum==8 && offset<12)
{
keys += (1<<8)
format(menu,2047,"%s^n\r[\w9\r].\w Next",menu)
}
if(offset)
{
keys += (1<<9)
format(menu,2047,"%s^n\r[\w0\r].\w Back",menu)
}
show_menu(id,keys,menu,-1,"ZClassSelect")
}