Jump to content

I'm a bit confused


roobes_real

Recommended Posts

I made my own currency skript, and now i want to put it on a sidebar with skrayfall. however, it gives me this error. why?
 

Quote

"There's no world in a periodic event if no world is given in the event"

every 2 seconds:
  loop all players:
    set {_online} to number of players
    wipe loop-player's sidebar
    set score "Balance: $%{balance::%player%}%" in sidebar of loop-player to 0


 

Edited by roobes_real
Link to comment
Share on other sites

6 minutes ago, roobes_real said:

    set score "Balance: $%{balance::%player%}%" in sidebar of loop-player to 0

%{balance::%player%}% wouldn't work change it to %{balance::%loop-player%}%. It's just that when looping player's you need to put it as loop-player and not just player

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...