Problem with setting up player class for my gamemode.

I get this error:

Couldn't include file 'player_class\player_custom.lua' (File not found) (@gamemodes/janmode/gamemode/shared.lua (line 1))

when trying to load my class file:

DEFINE_BASECLASS( "player_default" )

local PLAYER = {} 

-- See gamemodes/base/player_class/player_default.lua for all overridable variables
PLAYER.WalkSpeed 			= 200
PLAYER.RunSpeed				= 400

function PLAYER:Loadout()

	self.Player:GiveAmmo( 256,	"Pistol", 		true )
	self.Player:Give( "weapon_pistol" )


player_manager.RegisterClass( "player_custom", PLAYER, "player_default" )

Any help? I’ve tried several things, but I don’t know what to do S:
I’ve followed the gmod wiki, but it doesn’t seem to work.

Since it’s shared, you need to AddCSLuaFile( ) it.

That can be as simple as putting that at the top of the file ( with no arguments ) and including it on the server, and then on the client. Or when you include it on the server, add the client-side Lua file right there.