Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local atm = LocalPlayer():GetNW2String("simpleatm_account_balance")
- atm = tonumber(atm)
- local atm = DarkRP.formatMoney(atm)
- local atm_font = "InfoName"
- local atm_move = 0
- if string.len(atm) > 14 then
- atm_font = "InfoNameSmaller"
- atm_move = 3
- if (string.len(atm) > 23) then
- atm = string.Left(atm, 21) .. "..."
- end
- end
- 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