Raised This Month: $ Target: $400
 0% 

Extra Commands


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 07-23-2010 , 04:49   Extra Commands
Reply With Quote #1

PHP Code:
/*
AMX EXTRA MENU by RedRobster
========

Description:
This plugin allows you to add commands to a .ini file. You can then type
a command to use those commands on people.

Commands:
amx_extramenu - shows the menu with the extra commands, and then brings up
    a person menu

Credits:
anupm - Idea

Changelog:

    July 23, 2010 - v1.0 -    Initial release
    July 24, 2010 - v1.1 -    Fixed mistake in person menu
    
File Setup!
File name must be "extracommands.ini" unless changed below. It must be put in the configs
directory. You can then add commands to it in the format provided in the example.
    
*/ 
Any and all criticism is wanted and appreciated.
Attached Files
File Type: sma Get Plugin or Get Source (amx_extra_menu.sma - 815 views - 5.4 KB)
File Type: ini extracommands.ini (71 Bytes, 306 views)

Last edited by RedRobster; 07-24-2010 at 13:07.
RedRobster is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 07-23-2010 , 05:11   Re: Extra Commands
Reply With Quote #2

What does this do? strange description :p
__________________
I am out of order!
grimvh2 is offline
shuttle_wave
Veteran Member
Join Date: Apr 2009
Location: New Zealand
Old 07-23-2010 , 06:31   Re: Extra Commands
Reply With Quote #3

nice plugin of urs there
__________________
JailBreak Mod with Plugin API ( 90% ) Public
shuttle_wave is offline
anupm
Senior Member
Join Date: May 2010
Old 07-23-2010 , 07:45   Re: Extra Commands
Reply With Quote #4

WOW Red Robster hats off to you . Thank you soooooooooooooooo sooooooooooooooooooooooooo much for responding to my request and creating a plugin for that request . And anyboy who needs a description of this plugin can visit my request
https://forums.alliedmods.net/showthread.php?t=133129

Beilive me for smooth administratin of cs server this plugin is badly needed .
anupm is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-23-2010 , 08:06   Re: Extra Commands
Reply With Quote #5

Maybe I got this all wrong or is this function already in amxmodx ? amxmodmenu ? amx_clcmdmenu ? clcmds.ini ? anyone ?
__________________
Hunter-Digital is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 07-23-2010 , 09:02   Re: Extra Commands
Reply With Quote #6

Quote:
Originally Posted by Hunter-Digital View Post
Maybe I got this all wrong or is this function already in amxmodx ? amxmodmenu ? amx_clcmdmenu ? clcmds.ini ? anyone ?
No.

What it does is the following:

You write a command into the ini file, lets say amx_noclip

You go into game, and you open the extra menu, and it displays the command amx_noclip.

Under that command, it will display users currently in the server, in which you enable the noclip on the user or not.

Its similar to the kick menu, but made for any command that is founded in the server.

Great plugin Rob
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-23-2010 , 10:00   Re: Extra Commands
Reply With Quote #7

amx_clcmdmenu does something similar... you have clcmds.ini where you list commands (with more options, labeling, access, etc) and when you open the menu, you have the list of players and you can pick a player and a command to execute on either player, admin or server (depends on command usage).

So basically this is already made.
__________________
Hunter-Digital is offline
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 07-23-2010 , 11:46   Re: Extra Commands
Reply With Quote #8

Thanks for the positive comments guys, but oh well. It was worth it just for the experience of working with files more.
RedRobster is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 07-23-2010 , 11:51   Re: Extra Commands
Reply With Quote #9

http://forums.alliedmods.net/showthread.php?p=502775
__________________
xPaw is offline
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 07-24-2010 , 02:47   Re: Extra Commands
Reply With Quote #10

Quote:
Originally Posted by xPaw View Post
Too be honest, I think mine much simpler than that. Regardless, we've already found the clcmds.ini which is about as simple, but has a few more features.
RedRobster 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 06:53.


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