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

'SpyAdmin' Toggles your admin ON/OFF v1.01


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-07-2015 , 08:32   Re: 'SpyAdmin' Toggles your admin ON/OFF v1.01
Reply With Quote #21

Here is a fixed version of the plugin. Only players with a specific flag can use the command (the flag can be easily be changed with a cvar). Also, a option to automatically hide the flags has been added.

Last edited by OciXCrom; 04-08-2015 at 07:36.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 11-27-2016 , 03:00   Re: 'SpyAdmin' Toggles your admin ON/OFF
Reply With Quote #22

Quote:
Originally Posted by slmclarengt View Post
In the SMA file:
Code:
 	register_plugin("SpyAdmin v1", "1.01", "Smokey485")
	register_clcmd("say /spy", "spy_toggle", -1)
	register_clcmd("amx_spyadmin", "spy_toggle", -1)
Change to
Code:
	register_plugin("SpyAdmin v1", "1.01", "Smokey485")
	register_clcmd("say /spy", "spy_toggle", -1)
	register_clcmd("say /<your say command here>", "spy_toggle", -1)
	register_clcmd("amx_spyadmin", "spy_toggle", -1)
Slmclarengt
PHP Code:
register_clcmd("amx_spyadmin""spy_toggle", -1
>>>>>

PHP Code:
register_concmd("amx_spyadmin""spy_toggle", -1

Last edited by shehzad1234; 11-27-2016 at 03:22.
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-27-2016 , 09:20   Re: 'SpyAdmin' Toggles your admin ON/OFF v1.01
Reply With Quote #23

Are you mad? Do you even know when concmd is used?! clcmd means CLIENT command, so it can only be executed by the CLIENT. concmd is CONSOLE command, so it can be executed in the CLIENT's or SERVER's console. How do you expect the SERVER to be able to use such a command? Why would you even respond to a comment which is 10 years old?!?
__________________

Last edited by OciXCrom; 11-27-2016 at 09:20.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 10:40.


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