Raised This Month: $ Target: $400
 0% 

menu_create and outside ids?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 10-30-2011 , 06:20   Re: menu_create and outside ids?
Reply With Quote #2

Save it in a global variable, like:

Code:
new g_Menu[33] ... public menu(id)      g_Menu[id] = menu_create(...)

Edit: You don't need to create 33 cells and save the menu for everyone, that's just a solution if you want custom menus for every player out there

Code:
new g_Menu ... public menu(id)      g_Menu = menu_create(...)

Last edited by Backstabnoob; 10-30-2011 at 06:21.
Backstabnoob 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 14:17.


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