i trying to add test like blank but It shows me this weird.
Code:
public OpenMainMenu(Index)
{
new szKey[3], iMenu = menu_create(g_szMenuTitle, "menuHandler")
for(new i = 0; i < sizeof(g_szMenuItems) - 1; i += 2)
{
formatex(szKey, charsmax(szKey), "%i", i)
menu_additem(iMenu, g_szMenuItems[i], szKey, 0)
menu_addtext(iMenu,"test: %d", g_frags[ i ]) // there
}
menu_display(Index, iMenu, 0)
return PLUGIN_HANDLED
}
why 3 times test