Raised This Month: $ Target: $400
 0% 

Solved Try to add text to menu.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 04-01-2017 , 07:00   Re: Try to add text to menu.
Reply With Quote #1

Quote:
Originally Posted by Natsheh View Post
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.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode