include( "filename" ) problems...

Here are the first four lines of my code…



include( "shared.lua" ) 		--Tells the client to include file shared.lua
include( "cl_player.lua" )		--Tells the client to include file cl_player.lua
include( "cl_vars.lua" )		--Tells the client to include fil cl_vars.lua
include( "cl_fonts.lua" )		--Tells the client to include file cl_fonts.lua

My Errors:


Couldn't include file 'cl_player.lua' (File not found) (@gamemodes/gmodz_ecg/gamemode/cl_init.lua (line 2))
Couldn't include file 'cl_vars.lua' (File not found) (@gamemodes/gmodz_ecg/gamemode/cl_init.lua (line 3))
Couldn't include file 'cl_fonts.lua' (File not found) (@gamemodes/gmodz_ecg/gamemode/cl_init.lua (line 4))

Did you AddCSLuaFile() them and are they not empty?

They are not empty, and do you mean by adding them via AddCSLuaFile() in the init.lua file?

You could do that, they have to be added serverside if you want the client to receive them.

Alright, thanks a bunch guys!