• CVar Forcing
    1 replies, posted
Hello, I run a server, and I need a way to force CVars. There are alot of exploits that I want to use this to block. Also I want a way to block certain commands from being run as well. IF anyone could help me out, it would be much appreciated.
[URL="http://wiki.garrysmod.com/?title=Concommand.Remove"]concommand.Remove()[/URL] [URL="http://wiki.garrysmod.com/?title=G.CreateConVar"]CreateConVar[/URL]("convarname", "Valueyouwantittobe", { FCVAR_REPLICATED, FCVAR_ARCHIVE, FCVAR_CHEAT } ) or... just add protection to your concommands and cvars that you/your gamemode created if you're talking about things like sv_cheats, turn on scriptenforcer, if you do have on scriptenforcer, you have sethhackers, not a lot you can do about it besides drop some bans
Sorry, you need to Log In to post a reply to this thread.