Garry's Mod

Garry's Mod

Simple Energy Shield V2
Trisword 2018 年 6 月 2 日 上午 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!
< >
正在显示第 1 - 4 条,共 4 条留言
web3_angel 2019 年 12 月 11 日 上午 3:51 
did you ever figure it out?
Trisword 2019 年 12 月 11 日 上午 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 2021 年 7 月 31 日 下午 8: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 2023 年 3 月 26 日 上午 1:27 
I just put it in the server.cfg
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50