Couldn't include...

Hello, i’m hosting a server with my gamemode in it, but it say

Couldn’t include file ‘weapon.lua’ (File not found)
Couldn’t include file ‘cl_scoreboard.lua’ (File not found)
Couldn’t include file ‘cl_setmodel2.lua’ (File not found)
Couldn’t include file ‘cl_icon.lua’ (File not found)

When the files are in the gamemode folder…
Although, the menu that require weapon.lua work, but the console cmd doesn’t work.

You need to AddCSLuaFile the clientside files.

This stands for Add ( No shit ) Client Side Lua File.

That’s already done since a while

Well, if you are correctly including those files, then make sure the files are in the proper location and that they exist.

Also, I have found that if there is some glaring error in those files, GMod (or lua?) somehow knows this and thus wont include them. So make sure you have closed all your functions and if’s and loops in those files.