Raised This Month: $51 Target: $400
 12% 

How to disable a item in a menu if...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 05-25-2010 , 07:50   How to disable a item in a menu if...
Reply With Quote #1

...a cvar is not enabled ?
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-25-2010 , 08:09   Re: How to disable a item in a menu if...
Reply With Quote #2

You use new or old menus ?
__________________
Arkshine is offline
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 05-25-2010 , 08:12   Re: How to disable a item in a menu if...
Reply With Quote #3

new

Off:
Can you give me your msn?

Last edited by #8 SickneSS; 05-25-2010 at 08:17.
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-25-2010 , 08:28   Re: How to disable a item in a menu if...
Reply With Quote #4

You would need to use menu_makecallback(), see for example : http://forums.alliedmods.net/showpos...0&postcount=95
__________________
Arkshine is offline
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 05-25-2010 , 08:29   Re: How to disable a item in a menu if...
Reply With Quote #5

Ok,thanks
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
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 18:06.


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