Jump to content

question


windows 10

Recommended Posts

From what I understand, you want the balance of the money in the bank to be displayed in your HUD, right? Well, you will have to use setElementData and getElementData to see what amount you have in the bank

Example:
 

addEventHandler("onClientRender", root, function()
    local bankMoney = getElementData(localPlayer, "bankMoney") or 0
    dxDrawText("Bank Blance: "..bankMoney.."", 100, 200, 30, 30, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top")
end)

--// I'm pretty sure you have an element data in your bank system, try to put it like on this example

 

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