I have scripts that every time the server restarts I need to change it, then save it to get it to load. How can I get it so I don't have to do that everytime. I just want it to be loaded when the server starts. I have it under lua/autorun/server/testing.lua. This has a number of different things that I use in the server and it become a vital part. What can I do to fix this? Thanks in advance for any help!
Scripts in autorun will run on server start.
so if it's in lua/autorun/server/testing.lua logically it should run on startup, or is it just autorun
It will autorun serverside.
Then why is it that it won't load until I resave it? I disabled suicide in the script, and whenever I just load I can commit suicide, and the rest of the code still isn't applied...
Can we see the code in there? It could have to do with the gamemode overriding it maybe?
Probably because another hook is overriding that. Put your script in a hook or timer that will load it later.
Sorry, you need to Log In to post a reply to this thread.