Admin Exec
2 Attachment(s)
Works just like 'exec' with any cfg file you could normal use 'exec' on. It will set all cvars without needing sv_cheats set to 1. It does not however work on cmds. You will need to have basecommands.smx in your plugins, it comes with sourcemod so unless you deleted it you should have it. This is because it uses sm_cvar when it runs through the cfg.
I wrote this for L4D so people can run cfg files for 'gamemodes' or 'mods' without needing sv_cheats, but it should work with any source game. |
Re: Admin Exec
What's wrong with sm_rcon exec <file>?
|
Re: Admin Exec
Or put sm_cvar infront of all commands that require sv_cheats in your cfg. Works fine for listenservers too. The only issue when doing this is that it can spam the console.
|
Re: Admin Exec
Quote:
Quote:
|
All times are GMT -4. The time now is 18:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.