Как сделать такую графику?

gxhelpsx

Участник
Автор темы
134
11
шапка и скрин
1663017394706.png


+ ищу данный сервер тайм
1663017438007.png
 

ARMOR

kjor32 is legend
Модератор
4,853
6,095
 

gxhelpsx

Участник
Автор темы
134
11
как изменить цвет и размер его?

амбиент оклюжн
примерные настройки есть?
 

gxhelpsx

Участник
Автор темы
134
11
а размер как изменить в нём???
 

ARMOR

kjor32 is legend
Модератор
4,853
6,095
а размер как изменить в нём???
Lua:
require "lib.moonloader"
local huy = require("samp.events")
local piska = 0


local oX = 290
local oY = 100

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end
    while not isSampAvailable() do wait(100) end
    while true do
        timer = os.time() + piska
        sampTextdrawCreate(222, os.date("%H:%M:%S", timer), oX, oY)
        sampTextdrawSetLetterSizeAndColor(222, 0.5, 2.2, 0xFFff6347) -- 0.5 - X; 2.2 - Y
        sampTextdrawSetOutlineColor(222, 0.5, 0xFF000000)
        sampTextdrawSetAlign(222, 1)
        sampTextdrawSetStyle(222, 2)
        wait(500)
    end
end

function huy.onShowDialog(dialogId,style,title,button1,button2,text)
    if string.match(text, "Текущее время") then
        chislo, mesyac, god = string.match(text, "Сегодняшняя дата:     {2EA42E}(%d+):(%d+):(%d+)")
        chas, minuti, sekundi = string.match(text, "Текущее время:     {345690}(%d+):(%d+):(%d+)")
        datetime = {year = god,month = mesyac,day = chislo,hour = chas,min = minuti,sec = sekundi}
        piska = tostring(os.time(datetime)) - os.time()
    end
end