Garry's Mod
Simple Energy Shield V2
Trisword 2 Thg06, 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!
< >
Đang hiển thị 1-4 trong 4 bình luận
web3_angel 11 Thg12, 2019 @ 3:51am 
did you ever figure it out?
Trisword 11 Thg12, 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 31 Thg07, 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 26 Thg03, 2023 @ 1:27am 
I just put it in the server.cfg
< >
Đang hiển thị 1-4 trong 4 bình luận
Mỗi trang: 1530 50