local screenW, screenH = guiGetScreenSize()
addEventHandler("onClientPreRender", root,
function()
dxDrawRectangle(screenW * 0.0015, screenH * 0.9076, screenW * 0.9985, screenH * 0.0924, tocolor(10, 1, 10, 48), false)
dxDrawLine(screenW * 0.9400, screenH * 0.1484, screenW * 0.9400, screenH * 0.1719, tocolor(255, 255, 255, 255), 1, false)
local now = getTickCount()
local elapsedTime = now - now
local endTime = now + 2000
local duration = endTime - now
local progress = elapsedTime / duration
local x, y, _ = interpolateBetween (
screenW * -0.0286, screenH * 0.9310, 0,
screenW * 0.9949, screenH * 0.9427, 0,
progress, "Linear")
local asd = dxDrawText("HAZ TO PROS W DERBY", x, y, screenW * 0.2540, screenH * 0.9635, tocolor(255, 255, 255, 255), 1.00, "default", "center", "center", false, false, true, false, false)
end
)