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

29 lines
578 B
Lua
Raw Normal View History

2014-10-02 08:49:54 +08:00
include("shared.lua")
SWEP.PrintName = "Wraith"
SWEP.ViewModelFOV = 47
--[[function SWEP:Holster()
if self.Owner:IsValid() and self.Owner == MySelf then
self.Owner:SetBarricadeGhosting(false)
end
return self.BaseClass.Holster(self)
end]]
function SWEP:PreDrawViewModel(vm)
self.Owner:CallZombieFunction("PrePlayerDraw")
end
function SWEP:PostDrawViewModel(vm)
self.Owner:CallZombieFunction("PostPlayerDraw")
end
--[[function SWEP:Think()
self.BaseClass.Think(self)
if self.Owner:IsValid() and MySelf == self.Owner then
self:BarricadeGhostingThink()
end
end]]