FlapKakker Posted June 30, 2021 Share Posted June 30, 2021 (edited) Hi, Im trying to make a leaderboard (shows top 5 token balances) and i need to display the amount with the player's username. The issue I'm encountering is that i can't seem to transform the player's uuid to the player's name. When looking around on the internet i found this: player from [uuid] %string% (https://docs.skunity.com/syntax/search/id:1379) Example: set {_player} to player from uuid "be501....." => but this throws an error: can't understand this condition This is my current code: set {_tokenTop::*} to sorted {tokens::*} loop {_tokenTop::*}: set {_u} to loop-index parsed as offline player's uuid set {_player} to player from uuid "%{_u}%" send "%{_tokenTop::%loop-index%}% and %{_player}%" to player tokens::* = list variable with index = player's uuid at the moment, this will show all the values stored in the list variable and not the top 5, I am aware! Thanks in advance Edited June 30, 2021 by FlapKakker Link to comment Share on other sites More sharing options...
Bassouli Posted June 30, 2021 Share Posted June 30, 2021 Hello, I think that is false, but a solution that indeed works for your problem is this set {_player} to ({_uuid} parsed as offline player) Your welcome! Link to comment Share on other sites More sharing options...
FlapKakker Posted June 30, 2021 Author Share Posted June 30, 2021 52 minutes ago, Bassouli said: Hello, I think that is false, but a solution that indeed works for your problem is this set {_player} to ({_uuid} parsed as offline player) Your welcome! When servers are re-enabled, i'll it 1 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