Garry's Mod

Garry's Mod

Simple Energy Shield V2
Trisword Jun 2, 2018 @ 11:58am
[Error] Server autoexec.cfg Unknown Command
So I'm working on a server and need the shields set at 100 on startup for convenience.
I type this into the autoexec.cfg file: ses_max_armor 100
when I start up the server, I get the error message
Unknown Command "ses_max_armor 100"
and upon loading, the shields haven't changed...

I tried altering the code to this: RunConsoleCommand( "ses_max_armor", "100" )
the same result occurred.

I'm now at a stump, as to what it could be.
any help would be greatly apprieciated!
< >
Showing 1-4 of 4 comments
web3_angel Dec 11, 2019 @ 3:51am 
did you ever figure it out?
Trisword Dec 11, 2019 @ 9:45am 
nope

I just moved on to other things after a while, I assume you have the same problem in which case, best of luck to you in finding the solution.
seamuskills Jul 31, 2021 @ 8:26pm 
the only way I could get the settings to save is decompiling it via gmad.exe and editing it in the code where its defined and in gmod running reloadlegacyaddons to load the folder version instead of the .gma file.:MCCLEGENDARY:
Mike Mar 26, 2023 @ 1:27am 
I just put it in the server.cfg
< >
Showing 1-4 of 4 comments
Per page: 1530 50