zombiesurvival-evolved/gamemodes/zombiesurvival/entities/entities/status_headcrabcouple/cl_init.lua

15 lines
242 B
Lua
Raw Normal View History

INC_CLIENT()
2014-10-02 08:49:54 +08:00
function ENT:Initialize()
self:DrawShadow(false)
self:GetOwner().m_Couple = self
end
function ENT:OnRemove()
local owner = self:GetOwner()
if owner:IsValid() and owner.m_Couple == self then
owner.m_Couple = nil
end
end