-
Автор темы
- #1
anti_def = Menu.Switch('Ragebot','Anti Defensive', false)
local function a_def()
if anti_def:Get() then
EngineClient.ExecuteClientCmd("jointeam 1")
local lagcomp = CVar.FindVar("cl_lagcompensation")
lagcomp:SetInt(1)
elseif anti_def:Get() == false then
EngineClient.ExecuteClientCmd("jointeam 1")
local lagcomp = CVar.FindVar("cl_lagcompensation")
lagcomp:SetInt(0)
end
end
anti_def:RegisterCallback(a_def)
local function a_def()
if anti_def:Get() then
EngineClient.ExecuteClientCmd("jointeam 1")
local lagcomp = CVar.FindVar("cl_lagcompensation")
lagcomp:SetInt(1)
elseif anti_def:Get() == false then
EngineClient.ExecuteClientCmd("jointeam 1")
local lagcomp = CVar.FindVar("cl_lagcompensation")
lagcomp:SetInt(0)
end
end
anti_def:RegisterCallback(a_def)