Raised This Month: $ Target: $400
 0% 

2 menus


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SaM.ThE.MaN
Senior Member
Join Date: Jan 2010
Old 06-23-2010 , 15:04   2 menus
Reply With Quote #1

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?
__________________
  • Project : Level Plugin
o [||||||||||] - 100%
  • Project : OnePieceMod
o [||||||||||] - 20%
SaM.ThE.MaN is offline
infek
Senior Member
Join Date: May 2009
Location: Behind you
Old 06-23-2010 , 16:41   Re: 2 menus
Reply With Quote #2

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
__________________
"Domo Arigato, Mr. Roboto!"
PM me if you want to know a secret
infek is offline
SaM.ThE.MaN
Senior Member
Join Date: Jan 2010
Old 06-23-2010 , 17:20   Re: 2 menus
Reply With Quote #3

any1 else -.-
__________________
  • Project : Level Plugin
o [||||||||||] - 100%
  • Project : OnePieceMod
o [||||||||||] - 20%
SaM.ThE.MaN is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-23-2010 , 17:31   Re: 2 menus
Reply With Quote #4

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

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-23-2010 , 17:59   Re: 2 menus
Reply With Quote #5

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

Quote:
Originally Posted by SaM.ThE.MaN View Post
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.
__________________
fysiks is offline
SaM.ThE.MaN
Senior Member
Join Date: Jan 2010
Old 06-24-2010 , 02:30   Re: 2 menus
Reply With Quote #6

ah ok thank you
__________________
  • Project : Level Plugin
o [||||||||||] - 100%
  • Project : OnePieceMod
o [||||||||||] - 20%
SaM.ThE.MaN is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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