Raised This Month: $ Target: $400
 0% 

How to disable a menu item


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GoRough
Junior Member
Join Date: May 2008
Old 08-03-2008 , 03:34   How to disable a menu item
Reply With Quote #1

Hello,

How to disable a menu item ?

PS: I am using the new amxx menu system method

Tnx
GoRough is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 08-03-2008 , 04:14   Re: How to disable a menu item
Reply With Quote #2

set the callback of that menu and return ITEM_DISABLED in the callback function for corresponding menu item
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
GoRough
Junior Member
Join Date: May 2008
Old 08-03-2008 , 12:23   Re: How to disable a menu item
Reply With Quote #3

@jim_yang, thank you very much !
GoRough 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 05:37.


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