Grey color on New Menu Style.
How to display on New Style Menu this thing :
If you don't have this(something,thing) ,then the text on menu will be GREY . http://forums.alliedmods.net/showthread.php?t=46364 Give me an example.? |
Re: Grey color on New Menu Style.
\d this is grey
|
Re: Grey color on New Menu Style.
But if player don't have this(thing or something) , menu will not display items,that what in the menu.
P.S. Look at this(Maybe it's old style menu?) : http://img118.**************/img118/4306/shoot2ai0.png |
Re: Grey color on New Menu Style.
what?
|
Re: Grey color on New Menu Style.
Look at the image...
If item not allowed then it would be gray. If item allowed then it will be color that you want. |
Re: Grey color on New Menu Style.
That is using old style. You can accomplish it with the new menus with callbacks though. (I haven't added anything about them in the tutorial yet)
|
Re: Grey color on New Menu Style.
How about this:
PHP Code:
|
Re: Grey color on New Menu Style.
That would work, but players will still be able to select it. Something you could do is add an admin flag as the fourth parameter, and then only admins could bypass it when it is disabled.
|
Re: Grey color on New Menu Style.
I don't need anythink with admin.
How about this? :) PHP Code:
|
Re: Grey color on New Menu Style.
That looks horrible, but I understand what you mean. Yes that would work.
|
| All times are GMT -4. The time now is 02:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.