zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_tv/cl_init.lua

29 lines
515 B
Lua
Raw Permalink Normal View History

INC_CLIENT()
SWEP.DrawCrosshair = false
SWEP.Slot = 4
SWEP.SlotPos = 0
function SWEP:DrawHUD()
if GetConVar("crosshair"):GetInt() ~= 1 then return end
self:DrawCrosshairDot()
end
function SWEP:Deploy()
self.IdleAnimation = CurTime() + self:SequenceDuration()
return true
end
function SWEP:DrawWorldModel()
end
SWEP.DrawWorldModelTranslucent = SWEP.DrawWorldModel
function SWEP:PrimaryAttack()
end
function SWEP:DrawWeaponSelection(x, y, w, h, alpha)
self:BaseDrawWeaponSelection(x, y, w, h, alpha)
end