Garry's Mod
Simple Energy Shield V2
[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!
< >
Сообщения 14 из 4
did you ever figure it out?
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.
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:
I just put it in the server.cfg
< >
Сообщения 14 из 4
Показывать на странице: 1530 50