- Статус
- Оффлайн
- Регистрация
- 31 Дек 2018
- Сообщения
- 441
- Реакции
- 211
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Пожалуйста, авторизуйтесь для просмотра ссылки.
PHP:
local legitaa = Menu.Switch("Lightning | Anti-Aimbot Angles", "Legit AA", false)
local was_in_use = false
local var = Menu.FindVar("Ragebot", "Anti Aim", "Main", "Yaw")
local var36 = Menu.FindVar("Ragebot", "Anti Aim", "Main", "Pitch")
local last_pitch = var36:Get()
local last_yaw = var:Get()
local in_bomb_site = false
Cheat.RegisterCallback("events", function(event)
if event:GetName() == "enter_bombzone" and event:GetInt("userid") == EntityList.GetLocalPlayer():GetPlayerInfo().userId then
in_bomb_site = true
end
if event:GetName() == "exit_bombzone" and event:GetInt("userid") == EntityList.GetLocalPlayer():GetPlayerInfo().userId then
in_bomb_site = false
end
end)
local function legit_aa(cmd)
if bit.band(cmd.buttons, bit.lshift(1,5)) ~= 0 and legitaa:Get() then
cmd.buttons = bit.band(cmd.buttons, bit.bnot(bit.lshift(1,5)))
was_in_use = true
else
was_in_use = false
end
end
Cheat.RegisterCallback("createmove", function(cmd)
if was_in_use then
var:Set(0)
var36:Set(0)
return
else
var:Set(last_yaw)
var36:Set(last_pitch)
end
local localplayer = EntityList.GetLocalPlayer()
local weap = localplayer:GetPlayer():GetActiveWeapon()
if not weap then return end
if was_in_use then
if not in_bomb_site then
cmd.buttons = bit.bor(cmd.buttons, bit.lshift(1,5))
end
was_in_use = false
var:Set(last_yaw)
var36:Set(last_pitch)
end
end)
Cheat.RegisterCallback("pre_prediction", function(cmd)
legit_aa(cmd)
end)