I would like to be able to block access to a console command, how would I go about doing this?
[lua]
function BlockCommand()
return false end
end
concommand.Add("ThisCommandIsBlocked", BlockedCommand)
[/lua]
zzaacckk, that's an unreliable method as the client can just add their command after you've blocked it.
And it even got an error
Take a look at gm_sourcenet - [url]http://code.google.com/p/chrisaster/source/browse/trunk/gm_sourcenet/Release/gm_sourcenet.dll[/url]
or gm_slog - [url]http://gmodmodules.googlecode.com/svn/trunk/gm_slog/Release/gm_slog.dll[/url]
Sorry, you need to Log In to post a reply to this thread.