Easy Admin Command Menu
11 Attachment(s)
Former GUI, Easy Command Menu - AMXmodX plugin by Ichy Show! aka. - Billy The Kid -
------------------------------------------------------------------------ How to use Plug-in gives you possibility to execute any admin command through menu (slap, slay, gag, kick, ban etc.) on player: - you are aiming, [IMG]http://img83.**************/img83/3168/menubj3.th.jpg[/IMG] - you are watching (as SPEC or DEAD) or [IMG]http://img83.**************/img83/5561/deadspecdl3.th.jpg[/IMG] - whose spraypaint (logo) you're aiming at. [IMG]http://img83.**************/img83/240/spraymenuel0.th.jpg[/IMG] [IMG]http://img83.**************/img83/8949/spraybykr9.th.jpg[/IMG] 1) Download plugin's default commandmenu.txt and place it in cstrike 2) Bind some commands to buttons through console if you want. Example: bind f7 "amx_sprayby" bind f8 "amx_click amx_ip \, toggleconsole" bind f10 "amx_click amx_slap" 3) Command menu appears when you press 'H' key (by default). If you want to change default key for command menu, type for example: bind f12 "+commandmenu" ------------------------------------------------------------------------ How to change commands in menu 1) Open commandmenu.txt In default file you have: Code:
"1" "Player IP" "amx_click amx_ip \, toggleconsole" a) "Number of line in menu/submenu" "This part will be shown in game menu" "Command that will be executed" Ex. "1" "10 minutes ban" "amx_clickc amx_ban 10" [IMG]http://img509.**************/img509/4553/10bancv9.jpg[/IMG] b) '{' opens submenu, '}' closes Submenu: [IMG]http://img509.**************/img509/2750/submenunb2.jpg[/IMG] c) Notice that some commands have 'amx_click' and some 'amx_clickc' with c on the end. Use 'amx_clickc' if you want confirmation menu after clicking on the command (ex. for ban - you don't want accidental ban), otherwise use 'amx_click' (ex. for slap) Confirmation menu: [IMG]http://img509.**************/img509/1167/confirmfi2.jpg[/IMG] d) Notice \, (backslash, comma) ex. "1" "Player IP" "amx_click amx_ip \, toggleconsole" It replaces ';' (semicolon) when you want multiple commands to be executed with one click. This example uses amx_ip on a player and drops console down. e) Notice \' (backslash, apostrophe) ex. "2" "Nick" "amx_click amx_nick \'Player\'" It replaces " (quotes) ------------------------------------------------------------------------ How to change plugin configuration Change these values in plugin's .sma file and recompile: #define PREVENT_TIME 2.0 #define AIMED_EXEC 1 #define AIMED_NOT_CLICKC 0 #define MESSAGES 1 #define ENABLE_CLICKC 1 #define MAX_COMMAND_LENGTH 64 #define REMEMBER 0 #define REGISTER_SPRAYS 1 #define SPRAY_TIME 120.0 #define MAX_DISTANCE 75 #define MAX_SPRAYID 32 ------------------------------------------------------------------------ Versions 12.01.2007. v1.0 Ready to go... 15.01.2007. v1.1 - Added executing commands on players whos spray you're aiming at - Added amx_sprayby command if you want to see who is spray owner 11.08.2009. v1.3 - Added multilingual support ------------------------------------------------------------------------ Spray code taken from EKS's admin aimmenu/CheesyPeteza sprayid plugin http://forums.alliedmods.net/showthr...=admin+aimmenu http://djeyl.net/forum/index.php?showtopic=27236&hl ------------------------------------------------------------------------ Written & tested only on CS 1.6 server ------------------------------------------------------------------------ Here is the "default" commandmenu.txt (although some of commands won't work if you don't have appropriate plugins for them) for this plug-in in case you don't want to set it up yourself. It goes in admin's, not server's cstrike folder. |
Re: GUI - easier use of admin commands
Look's like this plugin was already made by somone else, but good job Billy :)
|
Re: GUI - easier use of admin commands
Yap, as I said, EKS's admin aimmenu plug-in (I don't know of any other) does the similar job, difference is that his menu is shown by plug-in so if you want to add/remove commands you have to write some code... at least that's what I think :) Here you bind any key to whatever command you want to use, or use commandmenu...
|
Re: GUI - easier use of admin commands
well this has more than just seven commands, oh and does this support aiming at sprays??
|
Re: GUI - easier use of admin commands
Wooo glad to see banshot made it into the menu.
|
Re: GUI - easier use of admin commands
Quote:
Quote:
|
Re: GUI - easier use of admin commands
Ok, I added code from CheesyPeteza's plug-in. Now you can use commands when aiming at player's spraypaint, and you can see the spraypaint's owner...
|
Re: GUI - easier use of admin commands
whats the difference from amx_point?
|
From what I can see in code of amx_point... that plug-in works only on people you aim - you can execute command on player you don't know name of, doesn't work while you're in SPEC/DEAD, doesn't work on sprays, and some code should be implemented to remember players you aimed... I think that's about it...
Thx for info about that plug-in existing thou :) and for suggestion to put spray-aimed command executing. |
Re: GUI - easier use of admin commands
Work like a dream! Great!
|
All times are GMT -4. The time now is 07:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.