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

AMX_Super Extension: Admin Slash


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 06-07-2007 , 15:30   AMX_Super Extension: Admin Slash
Reply With Quote #1

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
Attached Files
File Type: sma Get Plugin or Get Source (admin_slash.sma - 3407 views - 3.7 KB)
__________________

Last edited by bmann_420; 10-15-2010 at 14:42.
bmann_420 is offline
Old 06-07-2007, 19:26
vvg125
This message has been deleted by vvg125. Reason: never mind. good work
Old 01-13-2008, 15:42
Sarge
This message has been deleted by Sarge. Reason: NVM
DaPalestinianPro
Junior Member
Join Date: Feb 2008
Old 02-12-2008 , 19:35   Re: AMX_Super Extension: Admin Slash
Reply With Quote #2

wait i dont get it wat code?
DaPalestinianPro is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-12-2008 , 19:41   Re: AMX_Super Extension: Admin Slash
Reply With Quote #3

What are you talking about?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
DaPalestinianPro
Junior Member
Join Date: Feb 2008
Old 02-12-2008 , 23:53   Re: AMX_Super Extension: Admin Slash
Reply With Quote #4

* 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?
DaPalestinianPro is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 02-12-2008 , 23:57   Re: AMX_Super Extension: Admin Slash
Reply With Quote #5

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
__________________
bmann_420 is offline
Sayhello2nick
Junior Member
Join Date: Nov 2008
Location: Pa
Old 03-07-2009 , 02:43   Re: AMX_Super Extension: Admin Slash
Reply With Quote #6

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
__________________
Sayhello2nick is offline
Send a message via AIM to Sayhello2nick Send a message via MSN to Sayhello2nick Send a message via Yahoo to Sayhello2nick
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 03-07-2009 , 03:23   Re: AMX_Super Extension: Admin Slash
Reply With Quote #7

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.
__________________
bmann_420 is offline
BlackEagle12
Junior Member
Join Date: Jan 2009
Old 03-07-2009 , 10:30   Re: AMX_Super Extension: Admin Slash
Reply With Quote #8

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.
BlackEagle12 is offline
Sayhello2nick
Junior Member
Join Date: Nov 2008
Location: Pa
Old 03-07-2009 , 22:23   Re: AMX_Super Extension: Admin Slash
Reply With Quote #9

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?
__________________
Sayhello2nick is offline
Send a message via AIM to Sayhello2nick Send a message via MSN to Sayhello2nick Send a message via Yahoo to Sayhello2nick
WhightKnight
Senior Member
Join Date: Jun 2008
Old 03-08-2009 , 12:19   Re: AMX_Super Extension: Admin Slash
Reply With Quote #10

does it work like Emp`'s smartslash? where it takes off ALL prefixes? such as zp_ amx_ gal_ pm_
__________________
WhightKnight 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 00:39.


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