Well, I am wanting to make a gamemode and but I am having trouble adding a custom weapon that I coded with this tutorial: http://wiki.garrysmod.com/?title=Your_First_Scripted_Weapon
It is exact(at least I think it is - I have compared them) and I typed it all by hand no c/p. I saved as shared.lua - Here is pastebin: http://pastebin.com/ervKNcH9
But when I add it to the layout with ply:Give( “custom_weapon” ) … it doesn’t show up. I have downloaded the Skeleton gamemod from garrysmod.org and put it into the entities/weapons folder. So my shared.lua file is in “custom_weapon” folder in the location.
The empty_weapon included which was a sample weapon in the skeleton gamemode does work when I add it to the loadout and I noticed it was coded a little differently.
So basically what I am asking is how do i get my custom weapon to show on the loadout.