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

25 lines
424 B
Lua
Raw Normal View History

INC_CLIENT()
2014-10-02 08:49:54 +08:00
SWEP.DrawCrosshair = false
SWEP.Slot = 4
SWEP.SlotPos = 0
function SWEP:Deploy()
gamemode.Call("WeaponDeployed", self:GetOwner(), self)
2014-10-02 08:49:54 +08:00
return true
end
function SWEP:DrawHUD()
if GetConVar("crosshair"):GetInt() ~= 1 then return end
2014-10-02 08:49:54 +08:00
self:DrawCrosshairDot()
end
function SWEP:PrimaryAttack()
end
function SWEP:DrawWeaponSelection(x, y, w, h, alpha)
self:BaseDrawWeaponSelection(x, y, w, h, alpha)
2014-10-02 08:49:54 +08:00
end