-
Автор темы
- #1
Помогите как пофиксить индикаторы (пов каждый раунд после смерти они убираются)
trash code
trash code
Код:
Render.OutlineStringCustom = function(x, y, alignid, text, color, font) {
Render.String(x - 1, y - 1, alignid, text, [0, 0, 0, color[3]], font);
Render.String(x - 1, y, alignid, text, [0, 0, 0, color[3]], font);
Render.String(x - 1, y + 1, alignid, text, [0, 0, 0, color[3]], font);
Render.String(x, y + 1, alignid, text, [0, 0, 0, color[3]], font);
Render.String(x, y - 1, alignid, text, [0, 0, 0, color[3]], font);
Render.String(x + 1, y - 1, alignid, text, [0, 0, 0, color[3]], font);
Render.String(x + 1, y, alignid, text, [0, 0, 0, color[3]], font);
Render.String(x + 1, y + 1, alignid, text, [0, 0, 0, color[3]], font);
Render.String(x, y, alignid, text, color, font);
}
const IsDormant = function() {
enemies = Entity.GetEnemies()
for(var i in enemies)
if(Entity.IsDormant(enemies[i])) {
return true
}
return false
}
const Acatel = function(){
if (Entity.IsAlive(Entity.GetLocalPlayer())) {
const font_smallfonts = Render.GetFont("Smallest_Pixel-7.ttf", 9, true);
var screen_size = Global.GetScreenSize();
var add_y = 0;
IsFakeduck = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Fake duck"])
IsDoubleTap = UI.GetValue(["Rage", "Exploits", "Keys", "Double tap"])
IsOSAA = UI.GetValue(["Rage", "Exploits", "Keys", "Hide shots"])
IsForceBaim = UI.GetValue(["Rage", "General", "General", "Key assignment", "Force body aim"])
IsForceSafepoints = UI.GetValue(["Rage", "General", "General", "Key assignment", "Force safe point"])
IsFreestanding = UI.GetValue(["Rage", "Anti Aim", "Directions", "Auto direction"])
IsInverter = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "AA direction inverter"])
IsHideshots = UI.GetValue(["Rage", "Exploits", "Keys", "Hide shots"])
IsAutopeek = UI.GetValue(["Misc.", "Keys", "Key assignment", "Auto peek"])
IsChargedOrNo = Exploit.GetCharge() == 1 ? "CHARGED" : "UNCHARGED"
IsChargedOrNoColor = Exploit.GetCharge() == 1 ? [173, 209, 15, 255] : [255, 30, 30, 255]
FakeYaw = Input.IsKeyPressed(0x45) ? "LEGIT AA" : IsInverter ? "R" : "L"
add_y = add_y + 8
Render.OutlineStringCustom(screen_size[0] / 2 - -1, screen_size[1] / 2 + add_y, 0, "ACATEL BETA", [255, 255, 255, 255], font_smallfonts);
if (Entity.IsAlive(Entity.GetLocalPlayer())) {
add_y = add_y + 8
Render.OutlineStringCustom(screen_size[0] / 2 - -1, screen_size[1] / 2 + add_y, 0, "FAKE YAW:", [166, 196, 212, 255], font_smallfonts);
add_y = add_y + 0
Render.OutlineStringCustom(screen_size[0] / 2 - -39, screen_size[1] / 2 + add_y, 0, FakeYaw , [255, 255, 255, 255], font_smallfonts);}}
if(IsHideshots) {
add_y = add_y + 8
Render.OutlineStringCustom(screen_size[0] / 2 - -1, screen_size[1] / 2 + add_y, 0, "ONSHOT", [240, 158, 158, 255], font_smallfonts);}
if(IsDoubleTap && IsAutopeek && IsFreestanding) {
add_y = add_y + 8
Render.OutlineStringCustom(screen_size[0] / 2 - -1, screen_size[1] / 2 + add_y, 0, "IDEAL PEEK:", [255, 255, 255, 255], font_smallfonts);
Render.OutlineStringCustom(screen_size[0] / 2 - -42, screen_size[1] / 2 + add_y, 0, IsChargedOrNo, IsChargedOrNoColor, font_smallfonts);
} else if(IsDoubleTap) {
add_y = add_y + 8
Render.OutlineStringCustom(screen_size[0] / 2 - -1, screen_size[1] / 2 + add_y, 0, "DT", Exploit.GetCharge() == 1 ? [173, 209, 15, 255] : [255, 30, 30, 255] , font_smallfonts);}
if (Entity.IsAlive(Entity.GetLocalPlayer())) {
add_y = add_y + 8
Render.OutlineStringCustom(screen_size[0] / 2 - -1, screen_size[1] / 2 + add_y, 0, "BAIM", IsForceBaim ? [255, 255, 255, 255] : [255, 255, 255, 155], font_smallfonts);}
if (Entity.IsAlive(Entity.GetLocalPlayer())) {
add_y = add_y + 0
Render.OutlineStringCustom(screen_size[0] / 2 - -22, screen_size[1] / 2 + add_y, 0, "SP", IsForceSafepoints ? [255, 255, 255, 255] : [255, 255, 255 ,155], font_smallfonts);}
if (Entity.IsAlive(Entity.GetLocalPlayer())) {
add_y = add_y + 0
Render.OutlineStringCustom(screen_size[0] / 2 - -34, screen_size[1] / 2 + add_y, 0, "FS", IsFreestanding ? [255, 255, 255, 255] : [255, 255, 255 ,155], font_smallfonts);}
}
Cheat.RegisterCallback("Draw", "Acatel");