-
Автор темы
- #1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
I am doing a Anti-aimbot angles.
I need get values of m_flLowerBodyYawTarget for to do opposite, can someone help me?
Code:
I need get values of m_flLowerBodyYawTarget for to do opposite, can someone help me?
Code:
test.lua:
--Anti-aimbot angles container
local antiaim_container = ui.add_combo_box("Anti-aimbot angles", "antiaim_container", { }, 0)
local antiaim_enabled = ui.add_check_box("Enabled", "antiaim_enabled", false)
local antiaim_body_yaw = ui.add_combo_box("Body yaw", "antiaim_body_yaw", {"Off", "Opposite", "Jitter", "Static"}, 0)
local antiaim_body_yaw_jitter = ui.add_slider_int("Jitter", "antiaim_body_yaw_jitter", -180, 180, 0)
local antiaim_body_yaw_static = ui.add_slider_int("Static", "antiaim_body_yaw_static", -180, 180, 0)
--AA Body yaw
local m_flLowerBodyYawTarget = se.get_netvar("DT_CSPlayer", "m_flLowerBodyYawTarget")
client.register_callback("create_move", function(cmd)
if not antiaim_enabled:get_value() then return end
if antiaim_body_yaw:get_value() == 0 then return end
local body_yaw_opposite = antiaim_body_yaw:get_value() == 1
local body_yaw_jitter = antiaim_body_yaw:get_value() == 2
local body_yaw_static = antiaim_body_yaw:get_value() == 3
end)
Последнее редактирование: