Raised This Month: $ Target: $400
 0% 

2 menus, 2nd one calls 1st menus functions?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheNewt
Donor
Join Date: Jun 2006
Location: Where I live.
Old 07-14-2006 , 00:19   Re: 2 menus, 2nd one calls 1st menus functions?
Reply With Quote #1

Quote:
Originally Posted by GHW_Chronic
I found that there is a problem with just adding numbers onto the end.
Likewise *nods*

on a side note:
With the menu keys, I perfer doing this
Code:
#define MENU_KEY_1        (1<<0) #define MENU_KEY_2        (1<<1) #define MENU_KEY_3        (1<<2) #define MENU_KEY_4        (1<<3) #define MENU_KEY_5        (1<<4) #define MENU_KEY_6        (1<<5) #define MENU_KEY_7        (1<<6) #define MENU_KEY_8        (1<<7) #define MENU_KEY_9        (1<<8) #define MENU_KEY_0        (1<<9)
and then doing
Code:
 key = MENU_KEY_0|MENU_KEY_1
Cleaner IMHO.
__________________
Quote:
toe3_ left the chat room. (G-lined (AUTO Excessive connections from a single host.))
TheNewt is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 07-14-2006 , 01:02   Re: 2 menus, 2nd one calls 1st menus functions?
Reply With Quote #2

why would you define them twice?

they are already defined in amxconst.inc for you.

but thats a scripters preference on whether to use them or not.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
diamond-optic
Veteran Member
Join Date: May 2005
Old 07-14-2006 , 21:03   Re: 2 menus, 2nd one calls 1st menus functions?
Reply With Quote #3

thanks guys.. i ended up just doing it thru 2 positions on the same menu & it works fine now
__________________
diamond-optic is offline
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 08:00.


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