Próbáld így
local playerHP = math.floor(getElementHealth(localPlayer))
local playerArmour = math.floor(getPedArmor(localPlayer))
local playerMoney = getPlayerMoney()
local playerPing = getPlayerPing(getLocalPlayer())
dxDrawImage(x/2 + 340, 58, x/(1366/45), y/(768/45), \"rgm.png\")
dxDrawRectangle(x/1.35, y/45, x/4, y/30, tocolor(0, 0, 0, 150))
dxDrawRectangle(x/1.35, y/4.60, x/6, y/30, tocolor(0, 0, 0, 150))
dxDrawRectangle(x/1.35, y/15, x/4, y/7, tocolor(0, 0, 0, 150))
dxDrawRectangle(x/1.23, y/13, x/6, y/33, tocolor(0, 0, 0, 150))
dxDrawRectangle(x/1.23, y/13, playerHP*2.28, y/33, tocolor(38, 166, 91, 150))
dxDrawRectangle(x/1.23, y/8.50, x/6, y/33, tocolor(0, 0, 0,