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

[REQ] Custom Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LambStar
Member
Join Date: Aug 2012
Location: UAE
Old 01-31-2013 , 05:22   [REQ] Custom Menu
Reply With Quote #1

Hey there,

Can anyone make a menu for silver/golden player with ADMIN_LEVEL_G for silver and ADMIN_LEVEL_H for golden.

In that menu i want kick,votemap,changelevel menu for silver player and kick,ban,votemap,changelevel,cvar menu for golden player

to open silver player menu console cmd i want is "amx_spmenu" and for golden player "amx_gpmenu"

Thank you,
Any help will be appreciated.

Last edited by LambStar; 01-31-2013 at 05:46. Reason: *mistake*
LambStar is offline
Old 01-31-2013, 13:51
LambStar
This message has been deleted by YamiKaitou. Reason: wait 14 days before you bump
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 01-31-2013 , 14:32   Re: [REQ] Custom Menu
Reply With Quote #2

already asked, search by keywords (golden, silver) firstly only in titles, then in posts.
__________________
ANTICHRISTUS is offline
LambStar
Member
Join Date: Aug 2012
Location: UAE
Old 02-01-2013 , 05:43   Re: [REQ] Custom Menu
Reply With Quote #3

I can't find any if there is any please give the link
thanks
LambStar is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 02-01-2013 , 10:50   Re: [REQ] Custom Menu
Reply With Quote #4

You sure you cant find? You probably didnt tried to use search button in your right side because what you requested was requested lot of times before.

10seconds and fid this: https://forums.alliedmods.net/showth...=golden+silver
__________________

Last edited by Jhob94; 02-01-2013 at 10:54.
Jhob94 is offline
LambStar
Member
Join Date: Aug 2012
Location: UAE
Old 02-02-2013 , 04:18   Re: [REQ] Custom Menu
Reply With Quote #5

Hey I Don't want the silver/golden plugin! i want the menu read my post again i already have the plugin

Last edited by LambStar; 02-02-2013 at 04:22.
LambStar is offline
LambStar
Member
Join Date: Aug 2012
Location: UAE
Old 02-02-2013 , 12:23   Re: [REQ] Custom Menu
Reply With Quote #6

Someone Please Help..
LambStar is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 02-02-2013 , 12:29   Re: [REQ] Custom Menu
Reply With Quote #7

Dont Bump
__________________
Jhob94 is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 02-02-2013 , 13:45   Re: [REQ] Custom Menu
Reply With Quote #8

I was bored, so I decided to help you.
Here you go.

COMMANDS: /goldenmenu OR say goldenmenu
COMMANDS: /silvermenu OR say silvermenu

its a simple code, so dont talk to much
**EDIT**: Not sure if everything work
Original plugin by Blizzard , i just edited the menu's
You can find the original plugin in the unapproved section.
Attached Files
File Type: sma Get Plugin or Get Source (silvermenu.sma - 522 views - 1.5 KB)
File Type: sma Get Plugin or Get Source (goldenmenu.sma - 479 views - 1.9 KB)

Last edited by sami_spt; 02-02-2013 at 13:47. Reason: original plugin by Blizzard
sami_spt is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 02-02-2013 , 13:57   Re: [REQ] Custom Menu
Reply With Quote #9

Code:
register_concmd("silvermenu", "AdminMenu", ADMIN_KICK);
Quote:
ADMIN_LEVEL_G for silver and ADMIN_LEVEL_H for golden.
-

Code:
   client_cmd(id, "amx_kickmenu");
You need to modify admincmd.amxx to make this working by allowing ADMIN_LEVEL_H to use this command.
__________________
Kia is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 02-02-2013 , 14:50   Re: [REQ] Custom Menu
Reply With Quote #10

sorry!!

PHP Code:
    register_clcmd("say /silvermenu""AdminMenu"ADMIN_KICK);
    
register_concmd("silvermenu""AdminMenu"ADMIN_KICK); 
=>
PHP Code:
    register_clcmd("say /silvermenu""AdminMenu"ADMIN_ADMIN_LEVEL_G);
    
register_concmd("silvermenu""AdminMenu"ADMIN_ADMIN_LEVEL_G); 
FOR SILVER.
----------------
PHP Code:
    register_clcmd("say /silvermenu""AdminMenu"ADMIN_ADMIN_LEVEL_H);
    
register_concmd("silvermenu""AdminMenu"ADMIN_ADMIN_LEVEL_H); 
FOR GOLDEN
--------------------------------------------------------------------

and also make sure you edit cmdaccess.ini (RECOMMENDED) OR admincmd.sma and make the flags as you like.
---------------------------------
Better way instead of all of this, USE AMXMODMENU -,-

Last edited by sami_spt; 02-02-2013 at 14:53. Reason: fixed commands
sami_spt 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 06:33.


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