-- This SWEP was generated by mblunk's swep factory. SWEP.Base = "weapon_base" -- Visual/sound settings SWEP.PrintName = "Dummy Weapon" SWEP.Category = "NPC SWEPS (Not really intended for player use, but here you go)" SWEP.Slot = 2 SWEP.SlotPos = 4 SWEP.DrawAmmo = true SWEP.DrawCrosshair = true SWEP.ViewModelFlip = true SWEP.ViewModelFOV = 64 SWEP.ViewModel = "" SWEP.WorldModel = "" SWEP.ReloadSound = "" SWEP.HoldType = "melee" -- Other settings SWEP.Weight = 5 SWEP.AutoSwitchTo = false SWEP.AutoSwitchFrom = false SWEP.Spawnable = false SWEP.AdminSpawnable = false -- SWEP info SWEP.Author = "Xystus234" SWEP.Contact = "" SWEP.Purpose = "Because I can!" SWEP.Instructions = "Aim away from face!" -- Primary fire settings SWEP.Primary.Sound = "" SWEP.Primary.Damage = 8 SWEP.Primary.NumShots = 1 SWEP.Primary.Recoil = 8 SWEP.Primary.Cone = 9 SWEP.Primary.Delay = 1 SWEP.Primary.ClipSize = 5 SWEP.Primary.DefaultClip = 500 SWEP.Primary.Tracer = 1 SWEP.Primary.Force = 30 SWEP.Primary.TakeAmmoPerBullet = false SWEP.Primary.Automatic = true SWEP.Primary.Ammo = "SMG1" -- Secondary fire settings SWEP.Secondary.Sound = "" SWEP.Secondary.Damage = 10 SWEP.Secondary.NumShots = 1 SWEP.Secondary.Recoil = 1 SWEP.Secondary.Cone = 3 SWEP.Secondary.Delay = 0.01 SWEP.Secondary.ClipSize = -1 SWEP.Secondary.DefaultClip = 0 SWEP.Secondary.Tracer = 1 SWEP.Secondary.Force = 5 SWEP.Secondary.TakeAmmoPerBullet = false SWEP.Secondary.Automatic = false SWEP.Secondary.Ammo = "" SWEP.FireDelay = 0 -- Hooks function SWEP:Initialize() if ( SERVER ) then self:SetWeaponHoldType( self.HoldType ) end end function SWEP:PrimaryAttack() if ( !self:CanPrimaryAttack() ) then return end self:SetNextPrimaryFire( CurTime() + self.Primary.Delay ) end function SWEP:SecondaryAttack() end function SWEP:Think() end function SWEP:Reload() self.Weapon:DefaultReload(ACT_VM_RELOAD) return true end function SWEP:Deploy() return true end function SWEP:Holster() return true end function SWEP:OnRemove() end function SWEP:OnRestore() end function SWEP:Precache() end function SWEP:OwnerChanged() end