Jump to content

#RooTs

Members
  • Posts

    1,990
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by #RooTs

  1. #RooTs

    Money Hud

    you tried to adjust the string of numbers of string? local variable = "%011d" -- add number 03 or 02 EX: "%0 03 d" local money1 = string.format(variable, getPlayerMoney(getLocalPlayer()))
  2. #RooTs

    Money Hud

    or try this function convertNumber ( number ) local formatted = number while true do formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", "%1.%2") if ( k==0 ) then break end end return formatted end function HudMoney() local money2 = getPlayerMoney(getLocalPlayer()) local money = string.format ( "%.8f", getPlayerMoney ( getLocalPlayer ( ) ) ) if money2 < -0 then dxDrawText("$"..money2.."", 1455, 53, 1478, 86, tocolor(255, 255, 255, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false) else dxDrawText("$"..convertNumber(money).."", 1455, 53, 1478, 86, tocolor(255, 255, 255, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false) end end
  3. #RooTs

    Money Hud

    is not o'que you wanted?
  4. #RooTs

    Money Hud

    try this function convertNumber ( number ) local formatted = number while true do formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", "%1.%2") if ( k==0 ) then break end end return formatted end function HudMoney() local money = string.format ( "%.8f", getPlayerMoney ( getLocalPlayer ( ) ) ) dxDrawText("$"..convertNumber(money).."", 1455, 53, 1478, 86, tocolor(255, 255, 255, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false) end
  5. skin mod https://community.multitheftauto.com/ind ... s&id=13236 DONE
  6. how to make ? Do you know ? I think any example will help me....
  7. as I do to the vehicle, floor with this way?
  8. mais ou menos assim if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then return end
  9. se você não presta mais atenção nos exemplos que tem no WIKI, nunca irá conseguir if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then cadê o "then" no final da linha ?
  10. more, work in group by ACL ?
  11. even if I separate into a group in the ACL? EX: if ( isObjectInACLGroup ( "user.".. getAccountName ( account ), aclGetGroup ( "VIP" ) ) ) then setWeaponProperty(23, "pro", "maximum_clip_ammo", 600) else setWeaponProperty(23, "pro", "maximum_clip_ammo", 34) end
  12. I recreated the sound of counter strike.
  13. plus I be contributing in the complaints .. they are being ignored. I will report up until receive an answer. ( I'm so boring that you have no idea ) DONE
  14. without many descriptions, just enjoy the video. any ideas or improvement?
  15. what has changed; What's new?
  16. what has changed; What's new? and because I can not compile my scripts in OOP?
  17. what has changed; What's new? and because I can not compile my scripts in OOP?
  18. esse erro é em todos os servidores ou só em 1 "em específico" ?
×
×
  • Create New...