DeriveGamemode not working. (Please Help)

Hey FP, well my DeriveGamemode isn’t working… here’s my code.

Shared



DeriveGamemode( "sandbox" )
--[[ shared.lua ]]--

GM.Name = "Ultima PK"
GM.Author = "War"
GM.Email = "N/A"
GM.Website = "www.ErrorBased.biz.ht"

team.SetUp( 1, "Spectators", Color( 200, 200, 0, 255 ) )
team.SetUp( 2, "Delta", Color( 255, 74, 249, 255 ) )
team.SetUp( 3, "Alpha", Color( 0, 255, 72, 255 ) )

function GM:SpawnMenuEnabled()

	return true
	
end

function GM:SpawnMenuOpen()

	return true
	
end


Init.lua



--[[ init.lua ]]--

AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")

function GM:PlayerInitialSpawn(ply)
	ply:ConCommand("say", "poolhole")
end

function GM:PlayerLoadout(ply)
	ply:Give("weapon_physgun")
	ply:Give("gmod_tool")

	return true
end


cl_init.lua



--[[ cl_init.lua ]]--

include("shared.lua")


I have no idea why it’s erroring.

[editline]1st January 2014[/editline]

It only errors for me, not other people in the server :frowning: I need help

What does the error say? And post your gamemodename.txt.

Uh, no error, here’s my gamemodename.txt



"ultima"
{
	"base"		"sandbox"
    "title"  "UltimaPK"
    "version"   "1"
    "menusystem"	"1"
}


You don’t seem to be including the shared.lua from init.lua.

yeah okay

I fixed the error before, now it wont let me spawn props.

[editline]1st January 2014[/editline]

Okay, now tools are empty and uh I cant freeze props, it says “Stack Overflow”

Yes, I fixed that part.