мурда обкак, тебе тут писали уже что оно не выключится после респавна (по тупому - после смены тимы)
-- ESLI NUZHNO ONDA PROFA
hook.Add("PlayerShouldTakeDamage", "IGS.PlayerShouldTakeDamage", function(pl, at)
if pl:Team() == TEAM_ADMIN then
return false
end
end)
-- ESLI MNOGO PROF
local t = {
[TEAM_ADMIN] = true,
[TEAM_MOD] = true
}
hook.Add("PlayerShouldTakeDamage", "IGS.PlayerShouldTakeDamage", function(pl, at)
if t[pl:Team()] then
return false
end
end)