PDA

View Full Version : disable /spec


r3d_w1r3
02-02-2008, 16:23
hey guys is there a way to disable the function /spec czuse on my server only admin allow to spec and if regular player do that they get vip skins oO i know its a glitch but is there anyway to disable that function pls thank you verry much

hoboman
02-02-2008, 16:45
go into the .sma file, search for /spec and comment that line, recompile and put the new amx_super on your server

YamiKaitou
02-02-2008, 17:14
Next time, please look around before you ask

http://forums.alliedmods.net/showthread.php?t=64539&highlight=%2Fspec

r3d_w1r3
02-02-2008, 21:27
got it thank you very much hoboman and sorry yami for the lack of research :up:

Kill4Rice
04-23-2009, 14:29
I have never used amx mod studio so idk how i open .sma file or comment on it -_- help pls.

YamiKaitou
04-23-2009, 14:30
You can use any text editor. It does not have to be AMXStudio (I don't use it)

Kill4Rice
04-23-2009, 14:36
Ok... but in scripting folder is like 50 .sma files. How i can know wich one is right?

YamiKaitou
04-23-2009, 14:38
Depends on the one that you want to edit. Example, if you wanted to alter the AMX_Super source code, you would open amx_super.sma and edit that

Kill4Rice
04-23-2009, 14:51
i searched all of my sma files in scripting folder but i didnt found it! Any idea where it cud be?

YamiKaitou
04-23-2009, 14:55
If you can't find the file you are looking for, go redownload it. It ain't that hard. Stop trying to get others to do it for you when you just need to look around a bit

bmann_420
04-23-2009, 22:57
Their should be a cvar in the amx_super.cfg now that offers the option to disable it also.

Kill4Rice
04-24-2009, 09:52
i found the .sma file and removed that section but i can still use /spec

necox
04-24-2009, 19:49
//Allow /spec command
allow_public_spec 0 // Enable/Disable the public use of /spec command (to send you to Spectator)

amx_super.cfg