TTT Custom Weapons Have SWEPs but no spawn?

Hello, All the weapon files have SWEPS (WEAPON_HEAVY, etc) and they still wont spawn. The maps I have all have random spawns and they still only spawn the regular guns. Ill post the code for one of my guns just to show you (all of them generally follow the same coding with the SWEP)

*I also want to note that all the weapons I have are CS:S weapons and I downloaded the pack from:

This is for the Galil:


-- First some standard GMod stuff
if SERVER then
   AddCSLuaFile( "shared.lua" )

if CLIENT then
   SWEP.PrintName = "Galil"
   SWEP.Slot      = 2 -- add 1 to get the slot number key

   SWEP.ViewModelFOV  = 72
   SWEP.ViewModelFlip = false
   SWEP.Icon = "VGUI/ttt/icon_galil"

-- Always derive from weapon_tttbase.
SWEP.Base				= "weapon_tttbase"

--- Standard GMod values

SWEP.HoldType			= "ar2"

SWEP.Primary.Delay			= 0.17
SWEP.Primary.Recoil			= 1.6
SWEP.Primary.Automatic = true
SWEP.Primary.Ammo = "Pistol"
SWEP.Primary.Damage = 23
SWEP.Primary.Cone = 0.018
SWEP.Primary.ClipSize = 20
SWEP.Primary.ClipMax = 60
SWEP.Primary.DefaultClip = 20
SWEP.Primary.Sound       = Sound( "Weapon_Galil.Single" )

SWEP.ViewModel			 = "models/weapons/v_rif_galil.mdl"
SWEP.WorldModel			 = "models/weapons/w_rif_galil.mdl"

SWEP.IronSightsPos 		 = Vector(-5.16, 0, 2.279)
SWEP.IronSightsAng 		 = Vector(0, 0, 0)

-- TTT --
SWEP.AutoSpawnable = true
SWEP.AmmoEnt = "item_ammo_pistol_ttt"
SWEP.CanBuy = false
SWEP.InLoadoutFor = nil
SWEP.LimitedStock = true
SWEP.AllowDrop = true
SWEP.IsSilent = false
SWEP.NoSights = false

Thanks to all who can help me!

Well your AutoSpawnable is true… That would’ve been my first guess

Try throwing SWEP:Spawnable = true on there and seeing if you can spawn it through console

How do you spawn in a weapon again?

EDIT: Is there any other problem that might be causing this to not work?

give weapon_ttt_whatever

It doesnt do anything when I enter in give weapon_ttt_Galil or give Galil, doesnt work.

Make sure that’s the correct class name, and that you don’t already have a weapon in that slot.

I dont know what that means, also i dont know where to find the class name

Make sure you don’t have another primary. If you do, drop it. Then type in console (as superadmin) “give weapon_ttt_galil” no quotes or if using ulx then “ulx ent weapon_ttt_galil” no quotes.