Watermark
Last updated
Last updated
local watermark_text = "Melatonin [Private]"
local function on_paint()
local x, y = cheat.get_window_size();
local w, h = render.measure_text(1, false, watermark_text)
local wx, wy = x / 2 - w * 2 / 2, y / 1.20;
render.rect(wx, wy, w * 2, h * 2, 0, 0, 0, 127)
render.text(wx + w / 2, wy + h / 2, 255, 255, 255, 255, 1, false, watermark_text)
end
cheat.set_callback("paint", on_paint)