-
Автор темы
- #1
переделайте это под в4
пожайлуста
UI.AddSliderInt("Static legs fakelag", 6, 15);
UI.SetValue("Script items", "Static legs fakelag", 12);
function exploitsActive(){
return (UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Hide shots") || UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap"));
}
function isInAir(){
var fv = Entity.GetProp(Entity.GetLocalPlayer(), "CBasePlayer", "m_flFallVelocity");
return (fv < -1 || fv > 1);
}
function staticLegs(){
if(!Entity.IsAlive(Entity.GetLocalPlayer())) return;
if (Input.IsKeyPressed(0x20) || isInAir() || exploitsActive()) return;
var fakelag = UI.GetValue("Script items", "Static legs fakelag");
UI.SetValue("Anti-Aim", "Fake-Lag", "Jitter", 0);
UI.SetValue("Anti-Aim", "Fake-Lag", "Triggers", 0);
switch (Globals.Tickcount() % fakelag) {
case 0:
UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", fakelag);
UI.SetValue("Misc", "GENERAL", "Movement", "Slide walk", 1);
break;
case fakelag - 1:
UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 0);
UI.SetValue("Misc", "GENERAL", "Movement", "Slide walk", 1);
UserCMD.SetMovement([0, 0, 0]);
break;
}
}
Global.RegisterCallback("CreateMove", "staticLegs");
пожайлуста
UI.AddSliderInt("Static legs fakelag", 6, 15);
UI.SetValue("Script items", "Static legs fakelag", 12);
function exploitsActive(){
return (UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Hide shots") || UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap"));
}
function isInAir(){
var fv = Entity.GetProp(Entity.GetLocalPlayer(), "CBasePlayer", "m_flFallVelocity");
return (fv < -1 || fv > 1);
}
function staticLegs(){
if(!Entity.IsAlive(Entity.GetLocalPlayer())) return;
if (Input.IsKeyPressed(0x20) || isInAir() || exploitsActive()) return;
var fakelag = UI.GetValue("Script items", "Static legs fakelag");
UI.SetValue("Anti-Aim", "Fake-Lag", "Jitter", 0);
UI.SetValue("Anti-Aim", "Fake-Lag", "Triggers", 0);
switch (Globals.Tickcount() % fakelag) {
case 0:
UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", fakelag);
UI.SetValue("Misc", "GENERAL", "Movement", "Slide walk", 1);
break;
case fakelag - 1:
UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 0);
UI.SetValue("Misc", "GENERAL", "Movement", "Slide walk", 1);
UserCMD.SetMovement([0, 0, 0]);
break;
}
}
Global.RegisterCallback("CreateMove", "staticLegs");