How to make serverside addon run all before other scripts?
3 replies, posted
I'm wondering if I could make an addon run all before other serverside scripts, including the all the files in the gamemodes & the files within the addons folder, for detouring purposes
As I know addons are loaded ascended by folder names or file names. But I see here more accurate solution in using timers, maybe from Initialize hook.
Or hook Think and then delete itself inside.
think hook starts working after full initialization
name the file to be in front of any other files and run your file in lua/autorun and not /server or /client.
This is making it called first.
'includes/init.lua' is always the first file to be run. You could make your own but if you do be careful not to change anything or you'll break the game.
Sorry, you need to Log In to post a reply to this thread.