Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SWEP.PrintName = "Test Gun"
- SWEP.Author = "( CalvinTheSpaceCat )"
- SWEP.Instructions = "Left mouse to fire."
- SWEP.Spawnable = true
- SWEP.Category = "Calvin's SWEPS"
- SWEP.Primary.ClipSize = 20
- SWEP.Primary.DefaultClip = 20
- SWEP.Primary.Automatic = true
- SWEP.Primary.Ammo = 100
- SWEP.Secondary.ClipSize = 10
- SWEP.Secondary.DefaultClip = 10
- SWEP.Secondary.Automatic = false
- SWEP.Secondary.Ammo = 20
- SWEP.Weight = 4
- SWEP.AutoSwitchTo = false
- SWEP.AutoSwitchFrom = false
- SWEP.Slot = 2
- SWEP.SlotPos = 2
- SWEP.DrawAmmo = true
- SWEP.DrawCrosshair =true
- SWEP.ViewModel = "models/weapons/v_pistol.mdl"
- SWEP.WorldModel = "models/weapons/w_pistol.mdl"
- local ShootSound = Sound( "Metal.SawbladeStick" )
- function SWEP:PrimaryAttack()
- self.Weapon:SetNextPrimaryFire( CurTime() + 0.2 )
- end
- function SWEP:SecondaryAttack()
- self:EmitSound( ShootSound )
- if ( CLIENT ) the return end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement