AmLotte.
Wiek: 21 Na forum: 2184 dni Posty: 134
Nick w MP: AmLotte
Piwa : 443
Wie kto? mo?e czemu nie chce dzia?a? setTimer na ko?cu?
Kod: addEventHandler("onClientRender", root, function()
local x_1, y_1 = getCenter(1920,1080)
local hajs = getPlayerMoney(localPlayer)
local ping = getPlayerPing(localPlayer)
local health = getElementHealth(localPlayer)
if getElementData(localPlayer,"notshowhud") then return end
if not getElementData(localPlayer,"player:logged") then return end
dxDrawImage(x_1, y_1, 1920/zoom, 1080/zoom, texture_background, 0, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawImage(x_1, y_1, 1920/zoom, 1080/zoom, texture_s0, 0, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawText("#e4e4e4"..przecinek(hajs).." #00cc00$", sx-352/zoom, sy-1800/zoom, 1710/zoom, 925/zoom, tocolor(255, 255, 255, 255), 0.9, LOTTUS.FONCIK[2], "center", "center", false, false, true, true, false)
dxDrawText("#e4e4e4"..math.floor(health).." #e60000HP", sx-493/zoom, sy-1865/zoom, 1710/zoom, 925/zoom, tocolor(255, 255, 255, 255), 0.65, LOTTUS.FONCIK[2], "center", "center", false, false, true, true, false)
dxDrawText("#e4e4e4"..math.floor(ping).." #0066ffPING", sx-282/zoom, sy-1865/zoom, 1710/zoom, 925/zoom, tocolor(255, 255, 255, 255), 0.65, LOTTUS.FONCIK[2], "center", "center", false, false, true, true, false)
dxDrawText("#666666LVL", sx- -90/zoom, sy-1625/zoom, 1710/zoom, 925/zoom, tocolor(255, 255, 255, 255), 0.45, LOTTUS.FONCIK[2], "center", "center", false, false, true, true, false)
setTimer( function()
dxDrawImage(x_1, y_1, 1920/zoom, 1080/zoom, texture_s1, 0, 0, 0, tocolor(255, 255, 255, 255), false)
end, 1000, 1)
end)