include function stops addon from loading


if CLIENT then return end
print(“Running config…”)



Stuffs = “Some stuffs here”

print(“Config just worked!”)

The code just stops right after running the first print, The include function stops the code. Is there anything I did wrong?

The second print is not working at all.

As a note, I was running single player to test some codes.

Are these your actual sv_code and config.lua codes? If so, I don’t see any reason why it would fail to run. Try using lua_openscript to open your config on its own and see if there are any errors when you do so.