AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Admin Exec (https://forums.alliedmods.net/showthread.php?t=84781)

voiderest 01-31-2009 20:17

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.

Liam 02-01-2009 00:54

Re: Admin Exec
 
What's wrong with sm_rcon exec <file>?

-pk- 02-01-2009 01:56

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.

voiderest 02-01-2009 18:51

Re: Admin Exec
 
Quote:

What's wrong with sm_rcon exec <file>?
For cheat commands it would need sv_cheats 1 some place in there.

Quote:

Or put sm_cvar infront of all commands
Yeah, thats pretty much all this does so far.


All times are GMT -4. The time now is 18:03.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.