passing var in menu handler (quick fix please)
Code:
I need to send original "id" to the menu handler, how can I do that? I need to set g_phfinit[] to 0 for the player that invoked the menu on iPlayer |
Re: passing var in menu handler (quick fix please)
okay so I "solved" this by creating a 1dimensional array that stores the invoker's id in the position of the invoked player's cell, any better way to do this?
I've searched for documentation but couldn't find any other optional params in the show_menu command Code:
|
Re: passing var in menu handler (quick fix please)
You can use the NewMenu system and put the ID in as the info parameter of each item
|
Re: passing var in menu handler (quick fix please)
Quote:
Code:
you can't use variables inside menu options can you? I need to display the value of the pot... |
Re: passing var in menu handler (quick fix please)
|
| All times are GMT -4. The time now is 09:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.