Raised This Month: $ Target: $400
 0% 

Menu Colors


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 05-04-2005 , 16:24  
Reply With Quote #7

Quote:
Originally Posted by v3x
But it disables that option then.
No it doesn't.. That only happens if you don't specify the Menu Key bit to use..
For example, many plugins determine if a menu option should be disabled or not by methods like is_user_alive() and if the user is not alive, then they just display the name in the menu with a grey color (\d) but dont add the associating menu key bit...

Crude Example:

1. Username1 <--- guy is alive so add Menu Key Bit 1 = (1<<0)
2. Username2 <--- guy is dead, make name grey. Dont add menu key bit
3. Username3 <--- guy is alive so add Menu Key Bit 3 = (1<<2)

0. Exit

Your menu keys would be: (1<<0 | 1<<3) which means Menu Options 1 & 3 are enabled, but option 2 is not..

I hope you understood that..
xeroblood is offline
Send a message via MSN to xeroblood
 



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 16:39.


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