Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local moneyTpl = '<div><img src="https://image.noelshack.com/fichiers/2019/25/7/1561282493-bank.png"/> {{money}}</div>'
- ESX.UI.HUD.RegisterElement('money', 0, 0, moneyTpl, {
- money = 0
- })
- Citizen.CreateThread(function()
- while true do
- Citizen.Wait(2000)
- ESX.UI.HUD.UpdateElement('money', {
- money = xPlayer.money
- })
- end
- end)
Add Comment
Please, Sign In to add comment