AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to disable a menu item (https://forums.alliedmods.net/showthread.php?t=75315)

GoRough 08-03-2008 03:34

How to disable a menu item
 
Hello,

How to disable a menu item ?

PS: I am using the new amxx menu system method

Tnx:)

jim_yang 08-03-2008 04:14

Re: How to disable a menu item
 
set the callback of that menu and return ITEM_DISABLED in the callback function for corresponding menu item

GoRough 08-03-2008 12:23

Re: How to disable a menu item
 
@jim_yang, thank you very much ! :)


All times are GMT -4. The time now is 05:37.

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