Gamemode Not Showing

For some reason this game mode wont show up in the list. I need to make a game mode for a project i’m doing. If someon could help me out, that would be great. :slight_smile:

Init.lua



AddCSLuaFile( "cl_init.lua" ) //dl that
AddCSLuaFile( "shared.lua" ) //dl that too

include( 'shared.lua' ) //load that
 
 function GM:PlayerSpawn( ply )
    self.BaseClass:PlayerSpawn( ply )   
 
    ply:SetGravity  ( 0.50 )
    ply:SetMaxHealth( 500, true )  
 
    ply:SetWalkSpeed( 400 )  
    ply:SetRunSpeed ( 425 ) 
 
end

function GM:PlayerInitialSpawn( ply )
	ply:SetTeam(1)
end

function GM:PlayerLoadout( ply )
	if ply:Team() == 1 then
		ply:Give( "weapon_crowbar" )
		ply:Give( "weapon_pistol" )
		ply:Give( "weapon_smg1" )
		ply:Give( "weapon_frag" )
		ply:Give( "weapon_physcannon" )
		ply:Give( "weapon_crossbow" )
		ply:Give( "weapon_shotgun" )
		ply:Give( "weapon_357" )
		ply:Give( "weapon_rpg" )
		ply:Give( "weapon_ar2" )
		ply:Give( "gmod_tool" )
	    ply:Give( "gmod_camera" )
	    ply:Give( "weapon_physgun" )
	end
end


cl_init.lua



include( 'shared.lua' )


Shared.lua



GM.Name = "No_Grav"
GM.Author = "Program"
GM.Email = "SLT-ST_RedXVIII@hotmail.com"
GM.Website = "http://216.227.108.37/"

team.SetUp( 1, "Survivors", Color( 255, 150, 150, 255 ) )


Gamemodes don’t use info.txt anymore.

Oh, well I guess that’s Extra. But whats the problem?

You need a gamemode text file that tells what it’s called pretty much.

Thanks, it worked.