Jockerlight Posted April 9, 2021 Share Posted April 9, 2021 Hey so I made a money Skript and I was wondering how I print the amount of players money at the scoreboard as “k” not as 13.000 Link to comment Share on other sites More sharing options...
MillionDollar Posted April 10, 2021 Share Posted April 10, 2021 9 hours ago, Jockerlight said: Hey so I made a money Skript and I was wondering how I print the amount of players money at the scoreboard as “k” not as 13.000 You could make it check if it passed the required amount, so for an example. Player has 500$, it won't turn into 0.5k, but it'll stay as 500$ until they reach 1000 or more, where it should turn into 1k So just check if player has equal or more money than 1000 and then just divide that number by 1000 and add "k" at the end. MillionDollar, TrillionDollar BillionDollar please notice me. Link to comment Share on other sites More sharing options...
Jockerlight Posted April 10, 2021 Author Share Posted April 10, 2021 So like this If %{money.%player%}% is equal then 1000 divide 1000 from %{money.%player%}% and then ?? Link to comment Share on other sites More sharing options...
iiAdelizm Posted April 10, 2021 Share Posted April 10, 2021 - This Might Cause Lag Note: Change the text in the first and third line to the name of your world, btw I also added a command to test the final outcome. Link to comment Share on other sites More sharing options...
iiAdelizm Posted April 10, 2021 Share Posted April 10, 2021 Hope it Works for you Link to comment Share on other sites More sharing options...
iiAdelizm Posted April 10, 2021 Share Posted April 10, 2021 15 minutes ago, iiAdelizm said: - This Might Cause Lag Note: Change the text in the first and third line to the name of your world, btw I also added a command to test the final outcome. Link to comment Share on other sites More sharing options...
Jockerlight Posted April 10, 2021 Author Share Posted April 10, 2021 Thx a lot Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now