Quote:
Originally Posted by Shiraishi
Haha i know, but i'm just wondering if sv_cheats could be omitted, what i think is that for that to happen =\ you may need to strip each cvar thats considered a cheat.... and i think that will take ages =.=;; but i'm trying to see if the title "cheats" for those cvars could be omitted so they could run normally o-o;
|
It's possible (and fairly trivial) to remove the cheat flag from cvars. The same code in this plugin that removes it from commands can be applied to cvars directly. The problem with this is there is no *simple* way of only allowing admins to execute them. The best way around this would be a whitelist of cvars to remove the cheat flag from. At the moment I don't have the ability to write/test this plugin, so it's not something I can do.
@L4D issues: I'll give this a test when I get back to my real computer. I'm not sure that "give all" is valid though, try something like "give smg"
@bl4nk: I suspect that L4D might be doing something stupid, like having some commands explicitly check for sv_cheats, rather then relying on FCVAR_CHEAT to do the checking for them. This is definitely something that I can see being done, but that doesn't explain why it only works sometimes.
__________________