AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   (HELP) Multy menus,..... (https://forums.alliedmods.net/showthread.php?t=56688)

Qlim4X 06-18-2007 21:45

(HELP) Multy menus,.....
 
i have two custom menus

1)pro_menu
2)pro_moremenu

and i have add in the first when press 9 to go to teh second menu and i cant
it shows this message Unknown command: pro_moremenu

what can i do??? the init code for each one is

first
Code:

public plugin_init()
{
 register_plugin("ProGather Menu Main","1.0","Qlim4X")

 register_menucmd(register_menuid("ProGather Menu Main By Qlim4X"),1023,"actionMenu")
 register_clcmd("pro_menu","showMenu",ADMIN_KICK,"gather menu main")

 new modName[32]
 get_modname(modName,31)
 
}

second
Code:

public plugin_init()
{
 register_plugin("ProGather Menu More","1.0","Qlim4X")

 register_menucmd(register_menuid("ProGather Menu More By Qlim4X"),1023,"actionMenu")
 register_clcmd("pro_moremenu","showMenu",ADMIN_KICK,"gather menu more")

 new modName[32]
 get_modname(modName,31)
 
}


YamiKaitou 06-18-2007 22:25

Re: (HELP) Unknown command: pro_moremenu
 
Wrong place. Please post in Scripting Help if you are having issues with scripting a personal plugin

Qlim4X 06-19-2007 19:08

Re: (HELP) Multy menus,.....
 
any help to how can i open a menu from the other???

and why i cant register the second menu


All times are GMT -4. The time now is 10:29.

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