AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Menu opacity (https://forums.alliedmods.net/showthread.php?t=180426)

killergirl 03-15-2012 14:03

Menu opacity
 
When I call amx_pausecfgmenu some plugins can't be disabled and their color became semi-invisible. What is the trick?

Xvil 03-15-2012 14:37

Re: Menu opacity
 
add a Cvar for the plugin to disable or enable it without problems

fysiks 03-15-2012 14:58

Re: Menu opacity
 
Quote:

Originally Posted by Xvil (Post 1669475)
add a Cvar for the plugin to disable or enable it without problems

Not relevant. Remember what I said in the other thread?

Quote:

Originally Posted by killergirl (Post 1669453)
When I call amx_pausecfgmenu some plugins can't be disabled and their color became semi-invisible. What is the trick?

Plugins that can't be changed on that menu are just displayed with the grey color (\d).

Doc-Holiday 03-15-2012 16:04

Re: Menu opacity
 
Quote:

Originally Posted by fysiks (Post 1669503)
Not relevant. Remember what I said in the other thread?



Plugins that can't be changed on that menu are just displayed with the grey color (\d).

Further on this... Im not sure how the amxx plugins do it but it seems that the item is always able to be selected. Is it possible to block the selcection of the item instead of blocking it in the call back and re showing the menu?

Emp` 03-15-2012 16:41

Re: Menu opacity
 
Quote:

Originally Posted by Doc-Holiday (Post 1669542)
Further on this... Im not sure how the amxx plugins do it but it seems that the item is always able to be selected. Is it possible to block the selcection of the item instead of blocking it in the call back and re showing the menu?

New style menus: Use callbacks

Old style menus: Don't put the key in the bitsum sent as the second parameter of show_menu


All times are GMT -4. The time now is 14:24.

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