Server cant seem to find files in my addon?

Hey guys i need some help. I’m trying to create a addon. Basically files wont load. Im trying to keep things neat by having things like derma stored in seperate files.

The thing is the derma.lua file cannot be found anywhere even tho its in the addon

http://s000.tinyupload.com/index.php?file_id=74119197855034490843

Thats the link to my addon, hopefully someone could check it out and tell me what I’ve done wrong?

Thanks in advance.

You forgot to AddCSLuaFile(“derma.lua”)

also you don’t need to include a client side file inside a serverside file?

init.lua



AddCSLuaFile("cl_init.lua")
AddCSLuaFile("derma.lua")


cl_init.lua:



include("derma.lua")


Server:
AddCSLua all client side files and shared
Include shared files and server

Client:
include shared files and client side files

If you don’t include something. It just means you can’t access its global variables or functions etc. So if my config.lua (which is shared) wasn’t included server side, that server sided file can’t find any of the
data inside config.lua. Same applies clientside.

Thanks a tonne!