-
Автор темы
- #1
function getPlayerHealth(index) {
return Entity.GetProp(index, "CPlayerResource", "m_iHealth");
}
function useful() {
var body = UI.IsHotkeyActive("Rage", "GENERAL", "General", "Force body aim")
enemy = Ragebot.GetTarget()
healh = getPlayerHealth(enemy)
if (healh < 91) {
if (!body) {
UI.ToggleHotkey("Rage", "GENERAL", "General", "Force body aim")
}
}
else {
if (body) {
UI.ToggleHotkey("Rage", "GENERAL", "General", "Force body aim")
}
}
}
Cheat.RegisterCallback("CreateMove", "useful")
return Entity.GetProp(index, "CPlayerResource", "m_iHealth");
}
function useful() {
var body = UI.IsHotkeyActive("Rage", "GENERAL", "General", "Force body aim")
enemy = Ragebot.GetTarget()
healh = getPlayerHealth(enemy)
if (healh < 91) {
if (!body) {
UI.ToggleHotkey("Rage", "GENERAL", "General", "Force body aim")
}
}
else {
if (body) {
UI.ToggleHotkey("Rage", "GENERAL", "General", "Force body aim")
}
}
}
Cheat.RegisterCallback("CreateMove", "useful")