Have gamemode up and running, but hands wont show.




I have a gamemode up and running, but the hands wont show.
I’m using a player class, and did what it said here: http://wiki.garrysmod.com/page/Using_Viewmodel_Hands
But there are no hands. Can anyone help me?

The class:


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:Spawn()
	BaseClass.Spawn( self )
end

function PLAYER:Loadout()
	
	self.Player:RemoveAllAmmo()
	
	self.Player:GiveAmmo( 256,	"Pistol", 		true )
	self.Player:Give( "weapon_pistol" )
	self.Player:Give( "weapon_crowbar")

end

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

My init.lua:


AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
AddCSLuaFile("database/cl_database.lua")
AddCSLuaFile("database/items.lua")
AddCSLuaFile("player_class/player_custom.lua")

include("player_class/player_custom.lua")
include("shared.lua")
include("database/database.lua")
include("database/items.lua")

util.AddNetworkString( "KEY_Q" )

function GM:PlayerConnect( name, ip )
	print("Player: " .. name .. ", has joined the game.")
end

function GM:PlayerInitialSpawn( ply )
	print("Player: " .. ply:Nick() .. ", has spawned.")
	ply:SetTeam( 0 )
	ply:SetPlayerColor( Vector(0,0,255) )
	
	--ply:SetGamemodeTeam( 0 )
end

function GM:PlayerSpawn( ply )
	ply:SetModel("models/player/group01/male_07.mdl")

	player_manager.SetPlayerClass( ply, "player_custom" )
	player_manager.OnPlayerSpawn( ply )
	player_manager.RunClass( ply, "Spawn" )
	player_manager.RunClass( ply, "Loadout" )
	
end

function GM:PlayerAuthed( ply, steamID, uniqueID )
	print("Player: " .. ply:Nick() .. ", has gotten authed.")
	ply:databaseCheck()
end

function GM:PlayerDisconnected( ply )
	ply:databaseDisconnect()
end

net.Receive("KEY_Q", function(len, ply)
	hook.Call("KEY_Q", GAMEMODE, ply)
end)

http://forum.facepunch.com/showthread.php?t=1298214&p=41802913&viewfull=1#post41802913