This commit is contained in:
lifestorm
2024-08-04 22:55:00 +03:00
parent 0e770b2b49
commit 94063e4369
7342 changed files with 1718932 additions and 14 deletions

View File

@@ -0,0 +1,27 @@
--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
local characterMeta = ix.meta.character
function characterMeta:IsCombine()
local faction = ix.faction.Get(self:GetFaction())
local client = self:GetPlayer()
if (faction and faction.isCombineFaction) then
return true
else
local suit = client:GetActiveCombineSuit()
if (suit and (suit:GetData("ownerID") == self:GetID() or !suit:GetData("trackingActive"))) then
return true
end
end
end