AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   AMX Super (https://forums.alliedmods.net/forumdisplay.php?f=111)
-   -   AMX_Super Extension: Admin Slash (https://forums.alliedmods.net/showthread.php?t=56146)

bmann_420 06-07-2007 15:30

AMX_Super Extension: Admin Slash
 
1 Attachment(s)
Code:

*        This plugin allows admins to execute amx commands
*        using 'say' and a slash '/'. It can also execute
*        a command on all players or a team using '@all' and
*        '@team' in place of the authid/nick parameter.
*
*        Examples:
*        To kick a player type '/kick playername'
*        To kick all players type '/kick @all'
*        To kick all players on a team type '/kick @team:TEAMID'
*        To ban all players for 10 minutes, type '/ban 10 @all'
*
*
*        Important: place this plugin at the bottom of your plugins.ini file
*        so it doesn't interfere with other plugin that may use the '/'.
*
*/

This has been edited by Kwo for a run-time error. Me for code cleanup and taking out a few non-needed features.

MIRROR DOWNLOAD = HERE

DaPalestinianPro 02-12-2008 19:35

Re: AMX_Super Extension: Admin Slash
 
wait i dont get it wat code?

YamiKaitou 02-12-2008 19:41

Re: AMX_Super Extension: Admin Slash
 
What are you talking about?

DaPalestinianPro 02-12-2008 23:53

Re: AMX_Super Extension: Admin Slash
 
* Important: place this plugin at the bottom of your plugins.ini file
* so it doesn't interfere with other plugin that may use the '/'.

how do i place plugin in the bottom of plugins.ini wat do i type in?

bmann_420 02-12-2008 23:57

Re: AMX_Super Extension: Admin Slash
 
admin_slash.amxx

at the bottom of the list...
(the last plugin in the file)

Example:

amx_super.amxx
blah.amxx
anotherplugin.amxx

admin_slash.amxx //as you see its the last one

Sayhello2nick 03-07-2009 02:43

Re: AMX_Super Extension: Admin Slash
 
hey im not sure if i have to ask here or go to supercentral, but i installed admin slash and when i run amx_plugins it says that it is running fine but when i use for example amx_slap @all it says there is no such client ;/ what should i do? thanks in advance and sorry if posted in wrong place

bmann_420 03-07-2009 03:23

Re: AMX_Super Extension: Admin Slash
 
This doesnt do commands, just enabled the ablility to type /command in game. The "no suck client" has to do with the command itself, and im not sure why it would say that, as its a basic amx function.

BlackEagle12 03-07-2009 10:30

Re: AMX_Super Extension: Admin Slash
 
I am no scipter but I do program in other languages and I just skimmed through it but isn't this:

Code:

else if ( equal(sTeam,"S") ) {
                    copy(sTeam,MAX_NAME_LENGTH,"SPECTATOR")

Supposed to be Counter-Terrorist not Spectator? I am kinda trying to learn so I don't mean to call you out because the work that I have seen you do is amazing but I am just wondering.

Sayhello2nick 03-07-2009 22:23

Re: AMX_Super Extension: Admin Slash
 
well all's i have in my server is amx super and amx slash i used to be able to like give money @all but its not working since i updated to the one with the supermenu ;./ is there any info i can give you that can better explain my problem?

WhightKnight 03-08-2009 12:19

Re: AMX_Super Extension: Admin Slash
 
does it work like Emp`'s smartslash? where it takes off ALL prefixes? such as zp_ amx_ gal_ pm_


All times are GMT -4. The time now is 13:29.

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