Jump to content

[SOLUCIONADO] Como pongo separador de miles aqui?


UserToDelete

Recommended Posts

exports [ "scoreboard" ]:addScoreboardColumn ( "Money", 3 ) -- Add the "Money" column to the scoreboard. 
      
    function updatePlayersMoney ( ) -- Create "updatePlayersMoney" function. 
        for index, player in ipairs ( getElementsByType "player" ) do -- Loop through all online players. 
            setElementData ( player, "Money", getPlayerMoney ( player ) ) -- Set "Money" element data to the player money. 
        end -- End our loop. 
    end -- End our function. 
    setTimer ( updatePlayersMoney, 10000, 0 ) -- Set a infinite 2.5 seconds timer to execute "updatePlayersMoney" function. 

como puedo hacer para que en vez de "157981", aparezca en su lugar "157.981"? nose hacerlo xD

Edited by Guest
Link to comment
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...