-
Автор темы
- #1
ну скрипт для рокстара хули ._.
code_language.lua:
script:name("Arbuz.cc-WT") -- Имя скрипта
script:devs({"dsc.gg/bobr"}) -- Разработчики
script:desc(" ") -- Описание
mod = module.new("Arbuz.cc-WT", "by dsc.gg/bobr")
watermark = drag.new("Watermark"):set_x(5):set_y(5):set_width(180):set_height(12)
events.render_2d:set(function(event)
if mod:get() then
width1 = render:text_width(name) + 6
width2 = width1 / 2
color1 = color.new(0,0,0,0)
color2 = client:client_colors()[1]
name = "arbuz.cc - " .. client:name() .. " - " .. client:server()
render:rect(watermark:x(), watermark:y() + 0.2, render:text_width(name) + 6, 13, 2, client:theme_main())
render:gradient(watermark:x(), watermark:y(), width2, 0.5, 0, color1, color1, color2, color2)
render:gradient(watermark:x() + width2 + 1.7, watermark:y(), width2, 0.5, 0, color2, color2, color1, color1)
render:text(name, watermark:x() + 2.5, watermark:y() + 1, client:theme_text())
end
end)