ID:273708
![]() Jan 14 2011, 10:28 am
|
|
Well, i'm somewhat noob with skins and that. How i make a Menu, and enable/disable/remove it though the game?
|
Here's a pic to explain better:
http://files.byondhome.com/OceanKing/Treee.PNG I know how to create them but, for example i want to create one but only for Administrators. How do i create one and make it invisible or disable it? |
Ocean King wrote:
I know, i know it's with winset() but don't exactly know what parameters to put in it for the menu. I found that with the forum search for the same exact question: "Duplicate your skin and give it the gm menu. In login(), check if the player is gm and then if it is use winshow to remove the player skin. If not use winshow() to make the gm skin disappear" |
Darker Legends wrote:
winset(src, "adminmenu", "is-disabled=false") Doesn't work. Well, i'm bad explaining Sorry. i have a Menu inside another Menu. http://files.byondhome.com/OceanKing/Esdf.PNG That menu is called "Admin" and it's id is "AdminMenu". I want to disable that ONLY menu (The menu that haves "AdminMenu as id) |
Ocean King wrote:
Darker Legends wrote: winset(src, "adminmenu", "is-disabled=false") Doesn't work. Well, i'm bad explaining Sorry. That should be working if you set that ID to that menu only instead of the whole thing. (Double Click on the menu point) |
Menu is a word used way to often. For some the "Stat()" proc is also called a menu.