Garry's Mod

Garry's Mod

Simple Energy Shield V2
Trisword 2. juni 2018 kl. 11.58
[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!
< >
Viser 14 av 4 kommentarer
web3_angel 11. des. 2019 kl. 3.51 
did you ever figure it out?
Trisword 11. des. 2019 kl. 9.45 
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 31. juli 2021 kl. 20.26 
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 26. mars 2023 kl. 1.27 
I just put it in the server.cfg
< >
Viser 14 av 4 kommentarer
Per side: 1530 50