AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   2 menus (https://forums.alliedmods.net/showthread.php?t=130399)

SaM.ThE.MaN 06-23-2010 15:04

2 menus
 
Hi,

Its kinda embarassing , but i searched for it and got nothing . How to add 2 old style menus in 1 plugin.

like i press

/guns

it shows gun menu.

and /items

it shows items menu.

I JUST NEXT AN EXAMPLE.

and about this new menu[192] <-- does it have anything to do with the 192. I mean is there any other digit i can use?

infek 06-23-2010 16:41

Re: 2 menus
 
Not sure if you could use two different types of menus

but you could change the # of charsmax --> menu[#] the number just means how much charsmax is being allowed on the menu

SaM.ThE.MaN 06-23-2010 17:20

Re: 2 menus
 
any1 else -.-

YamiKaitou 06-23-2010 17:31

Re: 2 menus
 
Unsure what you are wanting to know. Of course you can have 2+ old style menus in a single plugin.

fysiks 06-23-2010 17:59

Re: 2 menus
 
Look in the default AMX Mod X plugins (adminvote.sma has many) for examples.

Quote:

Originally Posted by SaM.ThE.MaN (Post 1217307)
and about this new menu[192] <-- does it have anything to do with the 192. I mean is there any other digit i can use?

That 192 is just the number of characters that are in the menu. You can make it bigger if you need to.

SaM.ThE.MaN 06-24-2010 02:30

Re: 2 menus
 
ah ok thank you


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

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