Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. local atm = LocalPlayer():GetNW2String("simpleatm_account_balance")
  2. atm = tonumber(atm)
  3. local atm = DarkRP.formatMoney(atm)
  4. local atm_font = "InfoName"
  5. local atm_move = 0
  6.  
  7. if string.len(atm) > 14 then
  8. atm_font = "InfoNameSmaller"
  9. atm_move = 3
  10.  
  11. if (string.len(atm) > 23) then
  12. atm = string.Left(atm, 21) .. "..."
  13. end
  14. end
  15. draw.SimpleText(atm or "", atm_font, (w + 84)/2, 57 + atm_move, Color(255, 255, 255), TEXT_ALIGN_CENTER)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement