Admin Menu
So I'm trying to make an admin menu and I want to start of with the once I think is hard, slay/slap and mute/gag, when they are done I can do the switching on transfer and such myself :)
Mute = Voice_chat Gag = Text_Chat If you dont understand tell me to explain better and I'll do my very best, thanks in advance! :fox: PHP Code:
|
Re: Admin Menu
Make another menu function outside of the current menu function, lets call it MenuSlap. So it should be like
public MenuSlap(id) {} In this function create a menu. The first item (item=0) is for switching. The following items are for players. So you will know if the item equals 0 then switch option is selected. If not, we will get the items info to find the data (which is player id). We will use a global boolean array to find that if the admin wants to slay or slap the players. And we will use the same variable to determine the switch items name. it may be a little bit confusing but you will understand it with this example PHP Code:
|
| All times are GMT -4. The time now is 15:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.