Jump to content

SkQuery Scoreboards aren't working


Nd_

Recommended Posts

Code:

on join:
      display board named "&4&lMIXEDGAME" to player
      make score of "Players: " in board of player to {playercount}

Errors:

image.png.5b5bc1819f294f87b5825867af69baeb.png

Note 1: Yes, I have SkQuery

Note 2: The {playercount} variable is a custom made variable 

Link to comment
Share on other sites

The scoreboard code is wrong. 

on join:
	set name of sidebar of player to "&CNAME" #this will set the name of the scoreboard
	set score "&CTEXT" in sidebar of player to 0 #change 0 to whatever value to make the scoreboard appear in the right order

 

Hello! I'm SoloStrafe!
 

Skills:

Skript (4+ years experience)

Most of the plugins on MH

Servers:

- Westmine (Developer)

- Mineport (Admin)

Minehut:

Untitled.png.395f912cec0139eaf122fc8874f57045.png

I got VIP rank on 8/1/2019 -> Current

Link to comment
Share on other sites

17 minutes ago, SoloStrafe said:

The scoreboard code is wrong. 


on join:
	set name of sidebar of player to "&CNAME" #this will set the name of the scoreboard
	set score "&CTEXT" in sidebar of player to 0 #change 0 to whatever value to make the scoreboard appear in the right order

 

I just started using SkRayFall. Sorry.

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...