Jump to content

dxdraw text


stefutz101

Recommended Posts

How i can make money and Lvl to looks like that watch ?

mta-screen_2015-08-05_10-18-22.png

dxDrawText("$", sX*0.85, sY*0.11, sX*0.2, sY*0.2, tocolor(50, 255, 50, 255), sY/768,1, "pricedown", "left", "top", false, false, false, false, false) 
        dxDrawText(""..cash, sX*0.87, sY*0.11, sX*0.2, sY*0.2, tocolor(195, 195, 195, 255), sY/768,1, "pricedown", "left", "top", false, false, false, false, false) 

Link to comment
  
dxDrawText(""..cash, sX*0.87, sY*0.11, sX*0.2, sY*0.2, tocolor(195, 195, 195, 255), sY/768,1, "pricedown", "left", "top", false, false, false, false, false) 
  

This must be this (if im right...):

  
dxDrawText(..cash, sX*0.87, sY*0.11, sX*0.2, sY*0.2, tocolor(195, 195, 195, 255), sY/768,1, "pricedown", "left", "top", false, false, false, false, false) 
  

But have you defined cash? if not then ofc it will not work...

Link to comment

Wrong.

  
addEventHandler("onClientRender", root, 
    function() 
        dxDrawText("#00ff00$#ffffff"..getPlayerMoney(localPlayer), sX*0.87, sY*0.11, sX*0.2, sY*0.2, tocolor(195, 195, 195, 255), 1, "pricedown", "left", "top", false, false, false, true, false) 
    end 
) 

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...