gadeles ryzen 3600X
-
Автор темы
- #1
парни пиздец я уже 2 час сижу у меня не создаётся чекбокс я вообще в недоумении почему так :(
UI.AddSubTab(["Config", "SUBTAB_MGR"], "hohol", "hohol");
const path = ["Config", "hohol", "hohol"];
UI.AddCheckbox(path, "timur Crosshair")
UI.SetEnabled(["Config", "hohol", "hohol", "timur Crosshair"], 0)
UI.SetEnabled(["Config", "hohol", "hohol","timur Crosshair"], 1)
UI.SetEnabled(["Config", "hohol", "hohol","timur Crosshair"], 0)
function timur() {
var x = Render.GetScreenSize()[0] / 2;
var y = Render.GetScreenSize()[1] / 2;
var fonts21 = Render.GetFont("smallest_pixel-7.ttf", 9, true);
if (UI.GetValue(["Config", "hohol", "hohol", "timur Crosshair"]))
const me = Entity.GetLocalPlayer();
if (!me || !Entity.IsAlive(me))
return;
Render.OutlinesString(x + 1, y - 4, 1, "+", [0, 255, 0, 255], fonts21);
}
Cheat.RegisterCallback("Draw", "timur");
function subtract(vec, vec2) {
return [
vec[0] - vec2[0],
vec[1] - vec2[1],
vec[2] - vec2[2]
];
};
const path = ["Config", "hohol", "hohol"];
UI.AddCheckbox(path, "timur Crosshair")
UI.SetEnabled(["Config", "hohol", "hohol", "timur Crosshair"], 0)
UI.SetEnabled(["Config", "hohol", "hohol","timur Crosshair"], 1)
UI.SetEnabled(["Config", "hohol", "hohol","timur Crosshair"], 0)
function timur() {
var x = Render.GetScreenSize()[0] / 2;
var y = Render.GetScreenSize()[1] / 2;
var fonts21 = Render.GetFont("smallest_pixel-7.ttf", 9, true);
if (UI.GetValue(["Config", "hohol", "hohol", "timur Crosshair"]))
const me = Entity.GetLocalPlayer();
if (!me || !Entity.IsAlive(me))
return;
Render.OutlinesString(x + 1, y - 4, 1, "+", [0, 255, 0, 255], fonts21);
}
Cheat.RegisterCallback("Draw", "timur");
function subtract(vec, vec2) {
return [
vec[0] - vec2[0],
vec[1] - vec2[1],
vec[2] - vec2[2]
];
};