Files
mmkrp_2026/addons/qwb/lua/weapons/qwb_awp.lua
2026-03-15 14:54:49 +03:00

43 lines
930 B
Lua

AddCSLuaFile()
SWEP.Base = 'weapon_base_qwb'
SWEP.WorldModel = 'models/weapons/w_snip_awp.mdl'
SWEP.PrintName = 'AWP'
SWEP.Category = 'qurs\' weapons base'
SWEP.Spawnable = true
SWEP.AdminOnly = false
SWEP.IronsightOffset = Vector(-3.1, -0.8, 6.7)
SWEP.IronsightAngle = Angle(-5, -2, 0)
SWEP.Primary.Sound = 'Weapon_AWP.Single'
SWEP.Primary.Damage = 85
SWEP.Primary.NumShots = 1
SWEP.Primary.Spread = 0.005
SWEP.Primary.Delay = 1
SWEP.Primary.ClipSize = 8
SWEP.Primary.DefaultClip = 0
SWEP.Primary.Automatic = false
SWEP.Primary.Ammo = '357'
SWEP.Recoil = 8
SWEP.HorizontalRecoil = 8
SWEP.HipFireRecoil = 5
SWEP.HoldType = 'ar2'
SWEP.ScopeOffset = Vector(-36.9, 3.47, -0.955)
SWEP.ScopeSize = {184, 186}
SWEP.ScopeMat = Material('materials/qwb/scope/awp.png')
SWEP.ScopeFOV = 10
SWEP.ShellType = '762Nato'
SWEP.ShellOffset = Vector(-33, 1, -0.5)
SWEP.ShellVelocity = 75
SWEP.AimSound = Sound('weapons/ammopickup.wav')