Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddCSLuaFile( "shared.lua" )
- SWEP.Author = "UGC | Inhaber"
- SWEP.Instructions = ""
- SWEP.Spawnable = false
- SWEP.AdminSpawnable = true
- SWEP.ViewModel = "models/weapons/w_smg_p90.mdl"
- SWEP.WorldModel = "models/weapons/w_smg_p90.mdl"
- SWEP.Primary.ClipSize = -1
- SWEP.Primary.DefaultClip = -1
- SWEP.Primary.Automatic = true
- SWEP.Primary.Ammo = "ar2"
- SWEP.Primary.Delay = 1
- SWEP.Secondary.ClipSize = -1
- SWEP.Secondary.DefaultClip = -1
- SWEP.Secondary.Automatic = false
- SWEP.Secondary.Ammo = "none"
- SWEP.Weight = 5
- SWEP.AutoSwitchTo = false
- SWEP.AutoSwitchFrom = false
- SWEP.PrintName = "P90 | Automatik"
- SWEP.Category = "UGC | Waffen"
- SWEP.Slot = 3
- SWEP.SlotPos = 1
- SWEP.DrawAmmo = false
- SWEP.DrawCrosshair = false
- local ShootSound = Sound("")
- function SWEP:PrimaryAttack()
- self.Weapon:SetNextPrimaryFire( CurTime() + self.Primary.Delay )
- self:EmitSound( ShootSound )
- self:ShootEffects( self )
- if (!SERVER) then return end
- end
- function SWEP:SecondaryAttack()
- end
- function SWEP:ShouldDropOnDie()
- return false
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement