zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_glock3.lua

38 lines
808 B
Lua
Raw Normal View History

2014-10-02 08:49:54 +08:00
AddCSLuaFile()
if CLIENT then
SWEP.PrintName = "'Crossfire' Glock 3"
SWEP.Slot = 1
SWEP.SlotPos = 0
SWEP.ViewModelFOV = 50
SWEP.ViewModelFlip = false
SWEP.HUD3DBone = "v_weapon.Glock_Slide"
SWEP.HUD3DPos = Vector(5, 0.25, -0.8)
SWEP.HUD3DAng = Angle(90, 0, 0)
end
SWEP.Base = "weapon_zs_base"
SWEP.HoldType = "pistol"
SWEP.ViewModel = "models/weapons/cstrike/c_pist_glock18.mdl"
SWEP.WorldModel = "models/weapons/w_pist_glock18.mdl"
SWEP.UseHands = true
SWEP.Primary.Sound = Sound("Weapon_Glock.Single")
SWEP.Primary.Damage = 17
SWEP.Primary.NumShots = 3
SWEP.Primary.Delay = 0.3
SWEP.Primary.ClipSize = 7
SWEP.Primary.Automatic = false
SWEP.Primary.Ammo = "pistol"
GAMEMODE:SetupDefaultClip(SWEP.Primary)
SWEP.ConeMax = 0.14
SWEP.ConeMin = 0.07
SWEP.IronSightsPos = Vector(-5.75, 10, 2.7)