|
Author
|
Message
|
|
Veteran Member
|

04-01-2017
, 07:00
Re: Try to add text to menu.
|
#1
|
Quote:
Originally Posted by Natsheh
Code:
new szKey[20], iMenu = menu_create(g_szMenuTitle, "menuHandler")
for(new i = 0; i < sizeof(g_szMenuItems); i += 2)
{
num_to_str(i, szKey, charsmax(szKey))
menu_additem(iMenu, g_szMenuItems[i], szKey, 0)
formatex(szKey, charsmax(szKey)), "test : %d", g_frags[i])
menu_addtext(iMenu,szKey, 0) // there
}
|
thanks anyways bro
alr fixed.
|
|
|
|