Raised This Month: $ Target: $400
 0% 

Multiple menus and handlers


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 04-30-2011 , 05:54   Multiple menus and handlers
Reply With Quote #1

Hey, I'm going to create a plugin with 10+ menus, like this:

Menu with actions:
*Ban menu
*Kick menu
*Mute menu
*..
*..
*..
*..

Like lets take
[ban action menu]:
1. Choose a player to ban.
2. Choose a banreason.
3. Choose a bantime.
4. Accept all settings and ban player.

[kick action menu]:
1. Choose a player to kick.
2. Choose a kickreason.
3. Accept all settings and kick player.

[mute action menu]:
1. Choose a player to mute.
2. Choose a mutereason.
3. Choose a mutetime.
4. Accept all settings and mute player.

Is there another way, instead of making 11 menus & menu handlers ?
Instead of having 3 same menu with players listed there should be other way.

I would like something like
-ActionMenu -PlayerMenu -ReasonMenu -TimeMenu (if needed) -Accept action menu.

Last edited by reinert; 04-30-2011 at 06:12.
reinert is offline
 



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


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