summaryrefslogtreecommitdiff
path: root/entities/weapons/rad_ump45/shared.lua
diff options
context:
space:
mode:
Diffstat (limited to 'entities/weapons/rad_ump45/shared.lua')
-rw-r--r--entities/weapons/rad_ump45/shared.lua39
1 files changed, 39 insertions, 0 deletions
diff --git a/entities/weapons/rad_ump45/shared.lua b/entities/weapons/rad_ump45/shared.lua
new file mode 100644
index 0000000..b8191ca
--- /dev/null
+++ b/entities/weapons/rad_ump45/shared.lua
@@ -0,0 +1,39 @@
+if SERVER then
+
+ AddCSLuaFile("shared.lua")
+
+end
+
+if CLIENT then
+
+ SWEP.ViewModelFlip = true
+
+ SWEP.PrintName = "HK UMP45"
+ SWEP.IconLetter = "q"
+ SWEP.Slot = 3
+ SWEP.Slotpos = 2
+
+end
+
+SWEP.HoldType = "smg"
+
+SWEP.Base = "rad_base"
+
+SWEP.ViewModel = "models/weapons/v_smg_ump45.mdl"
+SWEP.WorldModel = "models/weapons/w_smg_ump45.mdl"
+
+SWEP.SprintPos = Vector (-1.0859, -4.2523, -1.1534)
+SWEP.SprintAng = Vector (-4.8822, -38.3984, 14.6527)
+
+SWEP.IsSniper = false
+SWEP.AmmoType = "SMG"
+
+SWEP.Primary.Sound = Sound( "Weapon_UMP45.Single" )
+SWEP.Primary.Recoil = 6.5
+SWEP.Primary.Damage = 35
+SWEP.Primary.NumShots = 1
+SWEP.Primary.Cone = 0.045
+SWEP.Primary.Delay = 0.100
+
+SWEP.Primary.ClipSize = 25
+SWEP.Primary.Automatic = true