add sborka

This commit is contained in:
2026-03-31 10:27:04 +03:00
commit f5e5f56c84
2345 changed files with 382127 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
local PLUGIN = PLUGIN
function PLUGIN:CharacterVarChanged(character, key, oldValue, value)
local client = character:GetPlayer()
if (key == "rank") then
local factionTable = ix.faction.Get(client:Team())
if (factionTable.OnRankChanged) then
factionTable:OnRankChanged(client, oldValue, value)
end
end
end