Raised This Month: $ Target: $400
 0% 

How to create a switch item in menu...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JuliPera12
New Member
Join Date: Nov 2013
Old 10-01-2015 , 18:45   How to create a switch item in menu...
Reply With Quote #1

Hi, im trying to make a menu like Ban Menu in 'amxmodmenu'...

Something like:
Quote:
Ban player: 1/2

1. Player1
2. Player2
3. Player3
4. Player4
5. Player5
6. Player6

7. Ban 30 minutes.

8. Next
9. Back
0. Exit
Quote:
Ban player: 2/2

1. Player7
2. Player8
3. Player9





7. Ban 30 minutes.

8. Next
9. Back
0. Exit
When i press '7', "Ban 30 minutes" change to "Ban 60 minutes", but i dont know how to make it appear in every page.

Sorry for bad english.

Last edited by JuliPera12; 10-01-2015 at 18:45.
JuliPera12 is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 10-01-2015 , 19:33   Re: How to create a switch item in menu...
Reply With Quote #2

You need to give us the code so we can help you...
Put it between php tags
redivcram is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-01-2015 , 21:19   Re: How to create a switch item in menu...
Reply With Quote #3

The original ban menu already does all of this. If you just want to change some things, simply edit the existing one or extract its code.
__________________
fysiks 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 22:17.


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