!isValidGamemode

-snip-
FIXED!

I don’t believe that function will work anymore. It seems to be a Fretta function and Fretta is not included in Garry’s Mod 13.

What exactly is “that” function? I don’t have the isValidGamemode function in my script, nor do I have any Fretta hooks.

Does the gamemode have a properly formatted folder/file structure?

I believe thats the problem, what is the proper structure?
Heres a list of the functions I have in my code. I’m sure it obviously but I’m an idiot:



GM:PlayerInitialSpawn
GM:PlayerSpawn
GM:HUDPaint

Those are the the functions that I think are causing it and all other functions are ones I made.

You need a gamemode.txt thing which you can see at http://wiki.garrysmod.com/page/Gamemode_Creation.

I have one but its structured differently:



"TestBitches"
{
	"base"		"base"
	"title"		"TestBitches"
	"maps"		"^gm_"
	"menusystem"	"1"
	"settings"
	{

	}
}

I’m only testing my code and stuff so I have no settings and nothing is really that special.

What is the .txt called?

TestBitches.txt

[editline]5th January 2013[/editline]

FIXED! I had a folder named wrong :stuck_out_tongue_winking_eye: