Raised This Month: $51 Target: $400
 12% 

Menu to Menu help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
applejack
Junior Member
Join Date: Aug 2012
Old 07-29-2013 , 12:15   Menu to Menu help
Reply With Quote #1

Hello,

im working on a small plugin for the moment but i got kinda stuck.

I got a "menu" plugin to handle the menu between other plugins i made. All of those plugins got menus working for those purpose.

But i need help to make this work if i can explain it right

Main menu got 3x items, every item are like:
* Boost
* Gravity
* Health

and when i click on boost i want the menu to point me to the menu for the boost plugins. The boost plugin got !boost to open that menu.


Would be awesome if someone could help me or point me in the right direction.
applejack is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 07-29-2013 , 14:18   Re: Menu to Menu help
Reply With Quote #2

FakeClientCommand(client, "sm_boost");

?
__________________

Last edited by Chaosxk; 07-29-2013 at 14:18.
Chaosxk is offline
Eden.Campo
Member
Join Date: Mar 2013
Old 07-29-2013 , 15:02   Re: Menu to Menu help
Reply With Quote #3

At the main menu handler, when a clients clicks the right selection, call DisplayMenu(handle, client, MENU_TIME_FOREVER(or a number));
Eden.Campo is offline
Reply



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 21:03.


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