Addon Help
Hello, me and my friend made an addon, HUD ... its working, all good! When i place it in addons folder, it just stop working , but when it stay in darkrp_modules its working perfectly, and ideas how i can fix it?
I'd suspect improper folder/file system usage.
I've only worked once with darkrpmodules but here's my understanding:
All files are created in: \addons\darkrpmodification\lua\darkrp_modules\*addonname*
This directory will now be changed to: \addons\*addonname*\lua\(autorun)
All DarkRP module files starting with... will go to ...
sv_filename.lua -> autorun/server/sv_filename.lua
sh_filename.lua -> autorun/sh_filename.lua
cl_filename.lua -> autorun/client/cl_filename.lua
Check if your files match that structure.
If your files are not located in lua/autorun (which is okay), don't forget to include them in the autorun code :P
Also, are there any error messages?
Hello, thx for the reply! I`m not in front of my PC ATM, but when i return will check. I can tell you that the hud working perf but when i place it there is a lot of lag...
That's weird... Can't give you more insight without seeing the actual code tho.
You're probably best of hiring a dev to check it out for you, I'm probably not qualified enough to do that :P