Ищу Pitch 0 on land ot4

  • 20
  • 2
JavaScript:
UI.AddCheckbox(["Misc.", "View", "General"], "Pitch zero on land");

const groundCounter = 0;
const pitchZeroOnLand = function () {
if (!UI.GetValue(["Misc.", "View", "General", "Pitch zero on land"])) return;
if (!Entity.GetLocalPlayer()) return;

UI.SetValue(["Cheat", "SHEET_MGR", "General", "Restrictions"], 0);

const localPlayer = Entity.GetLocalPlayer();
const localPlayerFlags = Entity.GetProp(localPlayer, "CBasePlayer", "m_fFlags");

if (localPlayerFlags == 256 || localPlayerFlags == 262) {
groundCounter = 0;
}

if (localPlayerFlags == 257 || localPlayerFlags == 261 || localPlayerFlags == 263) {
groundCounter = groundCounter + 1;
}

if (groundCounter > 10 && groundCounter < 250) {
UI.SetValue(["Rage", "SUBTAB_MGR", "Anti Aim", "SHEET_MGR", "General", "Pitch mode"], 3);
} else {
UI.SetValue(["Rage", "SUBTAB_MGR", "Anti Aim", "SHEET_MGR", "General", "Pitch mode"], 1);
}
}

Cheat.RegisterCallback("Draw", "pitchZeroOnLand");
нЕ?
тут питч оффается == изи хс
 
Сверху Снизу