Raised This Month: $ Target: $400
 0% 

passing var in menu handler (quick fix please)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 05-28-2014 , 09:30   Re: passing var in menu handler (quick fix please)
Reply With Quote #5

Quote:
Originally Posted by YamiKaitou View Post
You can use the NewMenu system and put the ID in as the info parameter of each item
this?
Code:
new menu1 = menu_create("menu name", "menu_handler");         menu_additem(menu1, "asd", "1", 0);         menu_additem(menu1, "asd", "2", 0);         menu_additem(menu1, "asd", "3", 0);         menu_additem(menu1, "asd", "4", 0);         menu_additem(menu1, "asd", "5", 0);

you can't use variables inside menu options can you? I need to display the value of the pot...
aron9forever is offline
 



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 09:45.


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