Is there any way to change the weapons you spawn with?

I am trying to change the weapons I spawn with, so I can replace the plain HL2 weapons with the updated mad cow versions.
Any ideas?

Which gamemode is this for?

Also I think this would belong in the lua section depending on what your asking for.

Just your basic sandbox gamemode.

Oh, yeah could admin move thread to Newbie Questions?

In that case I believe it’s in your gamemode/sandbox folder, inside of “init” looking for

function GM:PlayerLoadout( pl )

Under that replace

	pl:Give( "weapon_crowbar" )
	pl:Give( "weapon_pistol" )
	pl:Give( "weapon_smg1" )
	pl:Give( "weapon_frag" )
	pl:Give( "weapon_physcannon" )
	pl:Give( "weapon_crossbow" )
	pl:Give( "weapon_shotgun" )
	pl:Give( "weapon_357" )
	pl:Give( "weapon_rpg" )
	pl:Give( "weapon_ar2" )

With the guns that you want

Ex:
pl:Give( “your_new_weapon_here” )
pl:Give( “your_new_weapon_here” )
pl:Give( “your_new_weapon_here” )
pl:Give( “your_new_weapon_here” )
pl:Give( “your_new_weapon_here” )

Thanks :slight_smile:

Wait, my gmod won’t stop crashing now. Any ideas how this is crashing?
I just checked the file and it reverted my changes :[