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

36 lines
756 B
Lua

AddCSLuaFile()
SWEP.Base = 'weapon_base_qwb'
SWEP.WorldModel = 'models/weapons/w_pist_usp.mdl'
SWEP.PrintName = 'USP'
SWEP.Category = 'qurs\' weapons base'
SWEP.Spawnable = true
SWEP.AdminOnly = false
SWEP.IronsightOffset = Vector(-10, -1.1, 4)
SWEP.IronsightAngle = Angle(0, 3, 0)
SWEP.Primary.Sound = 'Weapon_USP.Single'
SWEP.Primary.Damage = 15
SWEP.Primary.NumShots = 1
SWEP.Primary.Spread = 0.01
SWEP.Primary.Delay = 0.15
SWEP.Primary.ClipSize = 15
SWEP.Primary.DefaultClip = 0
SWEP.Primary.Automatic = false
SWEP.Primary.Ammo = 'Pistol'
SWEP.Recoil = 5
SWEP.HorizontalRecoil = 8
SWEP.HoldType = 'revolver'
SWEP.ShellType = '9mm'
SWEP.ShellOffset = Vector(-4.5, 1, -1)
SWEP.ShellVelocity = 60
SWEP.AimSound = Sound('weapons/ammopickup.wav')