summaryrefslogtreecommitdiff
path: root/entities/weapons/rad_mp5/shared.lua
diff options
context:
space:
mode:
Diffstat (limited to 'entities/weapons/rad_mp5/shared.lua')
-rw-r--r--entities/weapons/rad_mp5/shared.lua39
1 files changed, 39 insertions, 0 deletions
diff --git a/entities/weapons/rad_mp5/shared.lua b/entities/weapons/rad_mp5/shared.lua
new file mode 100644
index 0000000..e41ef49
--- /dev/null
+++ b/entities/weapons/rad_mp5/shared.lua
@@ -0,0 +1,39 @@
+if SERVER then
+
+ AddCSLuaFile("shared.lua")
+
+end
+
+if CLIENT then
+
+ SWEP.ViewModelFlip = true
+
+ SWEP.PrintName = "HK MP5"
+ SWEP.IconLetter = "x"
+ SWEP.Slot = 3
+ SWEP.Slotpos = 2
+
+end
+
+SWEP.HoldType = "smg"
+
+SWEP.Base = "rad_base"
+
+SWEP.ViewModel = "models/weapons/v_smg_mp5.mdl"
+SWEP.WorldModel = "models/weapons/w_smg_mp5.mdl"
+
+SWEP.SprintPos = Vector(-0.6026, -2.715, 0.0137)
+SWEP.SprintAng = Vector(-3.4815, -21.9362, 0.0001)
+
+SWEP.IsSniper = false
+SWEP.AmmoType = "SMG"
+
+SWEP.Primary.Sound = Sound( "Weapon_MP5Navy.Single" )
+SWEP.Primary.Recoil = 5.5
+SWEP.Primary.Damage = 40
+SWEP.Primary.NumShots = 1
+SWEP.Primary.Cone = 0.035
+SWEP.Primary.Delay = 0.085
+
+SWEP.Primary.ClipSize = 30
+SWEP.Primary.Automatic = true