-
Автор темы
- #1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
JavaScript:
UI.AddSubTab(["Visuals", "SUBTAB_MGR"], "Watermark")
UI.AddColorPicker(["Visuals", "Watermark", "Watermark"], "Watermark color")
var color = UI.GetColor(["Visuals", "Watermark", "Watermark", "Watermark color"]);
if (color[3] == 0)
UI.SetColor(["Visuals", "Watermark", "Watermark", "Watermark color"], [250, 164, 22, 255]);
function draw() {
if(!World.GetServerString())
return;
var today = new Date();
var hours1 = today.getHours();
var minutes1 = today.getMinutes();
var seconds1 = today.getSeconds();
var hours = hours1 <= 9 ? "0"+hours1+":" : hours1+":";
var minutes = minutes1 <= 9 ? "0" + minutes1+":" : minutes1+":";
var seconds = seconds1 <= 9 ? "0" + seconds1 : seconds1;
var server_tickrate = Globals.Tickrate().toString()
var ping = Math.round(Entity.GetProp(Entity.GetLocalPlayer(), "CPlayerResource", "m_iPing")).toString()
color = UI.GetColor(["Visuals", "Watermark", "Watermark", "Watermark color"]);
var font = Render.AddFont("Verdana", 10, 900);
var text = "onetap | " + Cheat.GetUsername() + " | delay: " + ping + "ms | " + server_tickrate + "tick | " + hours + minutes + seconds;
var w = Render.TextSize(text, font)[0] + 8;
var x = Global.GetScreenSize()[0];
x = x - w - 10;
Render.FilledRect(x, 10, w, 2, [ color[0], color[1], color[2], 255 ]);
Render.FilledRect(x, 12, w, 16, [ 17, 17, 17, 100, color[3] ]);
Render.String(x+3, 10 + 2, 0, text, [ 255, 255, 255, 255 ], font);
}
Cheat.RegisterCallback("Draw", "draw");