AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   'SpyAdmin' Toggles your admin ON/OFF v1.01 (https://forums.alliedmods.net/showthread.php?t=28034)

Smokey485 05-05-2006 17:10

'SpyAdmin' Toggles your admin ON/OFF v1.01
 
1 Attachment(s)
If you ever needed to test if a plugin to see if its only available to admins, this would be helpful and easy to use.

But anyways, its called SpyAdmin because, you type /spy and it hides your admin, and also, my purpose of making this was so that pretty much you can catch other admins abusing, they do NOT have to know about the command, the command can be used by everyone but if they have no admin to begin with they wont be able to obtain admin.

Code:

// by Smokey
// USAGE: say /spy, toggles your admin on/off
// USAGE(Command #2) amx_spyadmin - Same as say /spy but in console

Anyways, this has been tested, and works, enjoy.

Brad 05-05-2006 21:16

Choose a category for this to get approved.

Unrelated to approval, I'd suggest you make an ini file where server ops can specify the Steam ID's of those that can use the command. Then, only do anything if the person attempting to use the command is on the list. If they're not on the list, nothing happens.

Smokey485 05-05-2006 23:27

I added a category, I'll update it with a list of steamids that can use the thing later, but accpet it for now.

mykey 05-06-2006 07:52

Sounds very useful, and I like Brads idea of controlling who can use it.
Thanks.

diamond-optic 05-06-2006 11:34

Re: 'SpyAdmin' Toggles your admin ON/OFF
 
Quote:

Originally Posted by Smokey485
Code:

// by Smokey
// USAGE: say /spyadmin, toggles your admin on/off


might wanna change that to the right say command

but anyway.. good idea

Guenhwyvar 05-06-2006 11:52

why you make this with a say-command? if I notice another admin joining I want to check and misspell the command /spyadmin, my camouflage is away ;). suggestion: take a consolecommand instead.

Smokey485 05-06-2006 12:24

Sorry about that, I wasn't thinking when I typed that, I'll update this and then it should get approved.

SubStream 05-08-2006 02:02

Does 1.01 have the .ini added? That would be a good idea. It's hard to decide whether to use this one or this one because they both have good features. GJ on this plugin though.

Jimpa 05-08-2006 10:17

With this plugin, i catched one of my abusing admins i never found, i was named "Kookymonkey" when he started to slay and slap me ^^

SubStream 05-08-2006 11:20

I never thought about using it for that but good idea :)


All times are GMT -4. The time now is 01:03.

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