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

37 lines
775 B
Lua

AddCSLuaFile()
SWEP.Base = 'weapon_base_qwb'
SWEP.WorldModel = 'models/weapons/w_pist_glock18.mdl'
SWEP.PrintName = 'Glock-18'
SWEP.Category = 'qurs\' weapons base'
SWEP.Spawnable = true
SWEP.AdminOnly = false
SWEP.IronsightOffset = Vector(-10, -1.2, 3.95)
SWEP.IronsightAngle = Angle(0, 2, 0)
SWEP.Primary.Sound = 'Weapon_Glock.Single'
SWEP.Primary.Damage = 20
SWEP.Primary.NumShots = 1
SWEP.Primary.Spread = 0.01
SWEP.Primary.Delay = 0.12
SWEP.Primary.ClipSize = 12
SWEP.Primary.DefaultClip = 0
SWEP.Primary.Automatic = false
SWEP.Primary.Ammo = 'Pistol'
SWEP.Recoil = 5.5
SWEP.HorizontalRecoil = 10
SWEP.HoldType = 'revolver'
SWEP.ShellType = '9mm'
SWEP.ShellOffset = Vector(-5, 1, -0.5)
SWEP.ShellVelocity = -50
SWEP.AimSound = Sound('weapons/ammopickup.wav')