Jump to content

Remover codigo HEX do nick na HUD!!!


Recommended Posts

Primeiramente, BOA NOITE!!!!!


Peguei um HUD na net. bem top.... Mas a única coisa que fica chato nela é o codigo HEX aparecendo, aquele que muda a cor do nick tipo "#FFFF00-NICK' não fica só o "NICK"



o codigo é o seguinte

 

addEventHandler("onClientRender", root,
    function()
        local vida1 = math.floor(getElementHealth(getLocalPlayer()))
        local colete = math.floor(getPedArmor(getLocalPlayer()))
        local Nivel = getElementData ( localPlayer, "Level" ) or 0
        local Emprego = tostring(getElementData(localPlayer,'Emprego') or "Desempregado")
        local realName = getPlayerName(getLocalPlayer())
        local money = convertNumber(getPlayerMoney(getLocalPlayer()))
        local bank = convertNumber(getElementData(localPlayer, "Bank:Caixa") or "0") 
        local Fome = getElementData(getLocalPlayer(), "AirNew:Fome")
        local Sede = getElementData(getLocalPlayer(), "AirNew:Sede")

        dxDrawRectangle(screenW * 0.9283, screenH * 0.1419, screenW * 0.0688, screenH * 0.0365, tocolor(0, 0, 0, 194), false)
        dxDrawRectangle(screenW * 0.8565, screenH * 0.1419, screenW * 0.0688, screenH * 0.0365, tocolor(0, 0, 0, 194), false)
        dxDrawRectangle(screenW * 0.8565, screenH * 0.0430, screenW * 0.1406, screenH * 0.0365, tocolor(0, 0, 0, 194), false)
        dxDrawRectangle(screenW * 0.8565, screenH * 0.2904, screenW * 0.1406, screenH * 0.0365, tocolor(0, 0, 0, 194), false)
        dxDrawRectangle(screenW * 0.9283, screenH * 0.1914, screenW * 0.0688, screenH * 0.0365, tocolor(0, 0, 0, 194), false)
        dxDrawRectangle(screenW * 0.8565, screenH * 0.1914, screenW * 0.0688, screenH * 0.0365, tocolor(0, 0, 0, 194), false)
        dxDrawRectangle(screenW * 0.8565, screenH * 0.0924, screenW * 0.1406, screenH * 0.0365, tocolor(0, 0, 0, 194), false)
        dxDrawRectangle(screenW * 0.8565, screenH * 0.2409, screenW * 0.1406, screenH * 0.0365, tocolor(0, 0, 0, 194), false)
        dxDrawLine(screenW * 0.8565, screenH * 0.1289, screenW * 0.9971, screenH * 0.1289, tocolor(0, 115, 245, 194), 3, false)
        dxDrawLine(screenW * 0.8565, screenH * 0.2773, screenW * 0.9971, screenH * 0.2773, tocolor(0, 115, 245, 194), 3, false)
        dxDrawLine(screenW * 0.8565, screenH * 0.0794, screenW * 0.9971, screenH * 0.0794, tocolor(0, 115, 245, 194), 3, false)
        dxDrawLine(screenW * 0.9283, screenH * 0.1784, screenW * 0.9971, screenH * 0.1784, tocolor(0, 115, 245, 194), 3, false)
        dxDrawLine(screenW * 0.8565, screenH * 0.1784, screenW * 0.9253, screenH * 0.1784, tocolor(0, 115, 245, 194), 3, false)
        dxDrawLine(screenW * 0.9283, screenH * 0.2279, screenW * 0.9971, screenH * 0.2279, tocolor(0, 115, 245, 194), 3, false)
        dxDrawLine(screenW * 0.8565, screenH * 0.2279, screenW * 0.9253, screenH * 0.2279, tocolor(0, 115, 245, 194), 3, false)
        dxDrawLine(screenW * 0.8565, screenH * 0.3268, screenW * 0.9971, screenH * 0.3268, tocolor(0, 115, 245, 194), 3, false)
        dxDrawImage(screenW * 0.8580, screenH * 0.0469, screenW * 0.0183, screenH * 0.0260, "deface/name.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(screenW * 0.8594, screenH * 0.0990, screenW * 0.0168, screenH * 0.0234, "deface/maleta.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(screenW * 0.8602, screenH * 0.2474, screenW * 0.0146, screenH * 0.0221, "deface/money.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(screenW * 0.8602, screenH * 0.2969, screenW * 0.0168, screenH * 0.0221, "deface/card.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(screenW * 0.8580, screenH * 0.1497, screenW * 0.0154, screenH * 0.0221, "deface/vida.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(screenW * 0.9312, screenH * 0.1484, screenW * 0.0139, screenH * 0.0234, "deface/colete.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(screenW * 0.8594, screenH * 0.1966, screenW * 0.0139, screenH * 0.0247, "deface/fome.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(screenW * 0.9283, screenH * 0.1979, screenW * 0.0176, screenH * 0.0221, "deface/sede.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawText("Nick:"..realName, screenW * 0.8785, screenH * 0.0469, screenW * 0.9927, screenH * 0.0729, tocolor(255, 255, 255, 255), 0.90, dxfont1_icons, "left", "center", false, false, false, false, false)
        dxDrawText(""..Emprego, screenW * 0.8785, screenH * 0.0964, screenW * 0.9927, screenH * 0.1224, tocolor(255, 255, 255, 255), 0.90, dxfont1_icons, "left", "center", false, false, false, false, false)
        dxDrawText("R$"..money, screenW * 0.8785, screenH * 0.2435, screenW * 0.9927, screenH * 0.2695, tocolor(255, 255, 255, 255), 0.90, dxfont1_icons, "left", "center", false, false, false, false, false)
        dxDrawText("R$"..bank, screenW * 0.8785, screenH * 0.2930, screenW * 0.9927, screenH * 0.3190, tocolor(255, 255, 255, 255), 0.90, dxfont1_icons, "left", "center", false, false, false, false, false)
        dxDrawText(vida1.."%", screenW * 0.8741, screenH * 0.1484, screenW * 0.9209, screenH * 0.1719, tocolor(255, 255, 255, 255), 0.90, dxfont1_icons, "left", "center", false, false, false, false, false)
        dxDrawText(colete.."%", screenW * 0.9502, screenH * 0.1484, screenW * 0.9971, screenH * 0.1719, tocolor(255, 255, 255, 255), 0.90, dxfont1_icons, "left", "center", false, false, false, false, false)
        dxDrawText(Fome.."%", screenW * 0.8741, screenH * 0.1966, screenW * 0.9209, screenH * 0.2201, tocolor(255, 255, 255, 255), 0.90, dxfont1_icons, "left", "center", false, false, false, false, false)
        dxDrawText(Sede.."%", screenW * 0.9429, screenH * 0.1966, screenW * 0.9898, screenH * 0.2201, tocolor(255, 255, 255, 255), 0.90, dxfont1_icons, "left", "center", false, false, false, false, false)
    end
)

Poderiam me ajudar? Se quiserem boto o client.Lua todo aqui.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...