41 lines
901 B
Lua
41 lines
901 B
Lua
AddCSLuaFile()
|
|
|
|
if CLIENT then
|
|
SWEP.PrintName = "'Owens' Handgun"
|
|
SWEP.Slot = 1
|
|
SWEP.SlotPos = 0
|
|
|
|
SWEP.ViewModelFlip = false
|
|
SWEP.ViewModelFOV = 60
|
|
|
|
SWEP.HUD3DBone = "ValveBiped.square"
|
|
SWEP.HUD3DPos = Vector(1.1, 0.25, -2)
|
|
SWEP.HUD3DScale = 0.015
|
|
end
|
|
|
|
SWEP.Base = "weapon_zs_base"
|
|
|
|
SWEP.HoldType = "pistol"
|
|
|
|
SWEP.ViewModel = "models/weapons/c_pistol.mdl"
|
|
SWEP.WorldModel = "models/weapons/w_pistol.mdl"
|
|
SWEP.UseHands = true
|
|
|
|
SWEP.CSMuzzleFlashes = false
|
|
|
|
SWEP.ReloadSound = Sound("Weapon_Pistol.Reload")
|
|
SWEP.Primary.Sound = Sound("Weapon_Pistol.NPC_Single")
|
|
SWEP.Primary.Damage = 12
|
|
SWEP.Primary.NumShots = 2
|
|
SWEP.Primary.Delay = 0.2
|
|
|
|
SWEP.Primary.ClipSize = 12
|
|
SWEP.Primary.Automatic = false
|
|
SWEP.Primary.Ammo = "pistol"
|
|
GAMEMODE:SetupDefaultClip(SWEP.Primary)
|
|
|
|
SWEP.ConeMax = 0.08
|
|
SWEP.ConeMin = 0.04
|
|
|
|
SWEP.IronSightsPos = Vector(-5.95, 3, 2.75)
|
|
SWEP.IronSightsAng = Vector(-0.15, -1, 2)
|