Amx_Super /SPEC
Hello there!
I have installed amx_super on my server. I'ave the problem that all people can go /spec, the command are doing so you can go spectate, and still play. How can i fix/remove it so it's only admins that can go /spec? Hope you understood my bad english... :| Thanks RuleZ. |
Re: Amx_Super /SPEC
If you want to remove it, simply go into the .sma (in the commands section under plugin_init) and where you find:
Code:
register_clcmd("say /spec", "cmd_spec")Code:
//register_clcmd("say /spec", "cmd_spec")Unless you want to keep it, then you would add a check in the function for an admin. |
Re: Amx_Super /SPEC
//Allow /spec command
allow_public_spec 1 // Enable/Disable the public use of /spec command (to send you to Spectator) amx_super.cfg is amazing. http://www.supercentral.net/wiki/wik...=Amx_super_cfg |
Re: Amx_Super /SPEC
o boies, der der der ( i was having a great day)
I miss you DG |
Re: Amx_Super /SPEC
Quote:
|
Re: Amx_Super /SPEC
Quote:
|
Re: Amx_Super /SPEC
That will disable the capability of using /spec. In the amx_super.cfg file.
|
| All times are GMT -4. The time now is 19:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.