1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Placeholder output in scoreboard

Discussion in 'Skript' started by 07L, Mar 9, 2019.

Thread Status:
Not open for further replies.
  1. 07L

    07L Member

    Joined:
    Feb 23, 2019
    Messages:
    43
    Likes Received:
    0
    Hey! I'm using the plugin SimpleScore and the skript placeholderapi expansion. I placed a skript variable into the scoreboard and whenever the value is above 1, it shows a .0 at the end. If it's a 1 it's fine. If its 2 it shows as 2.0 is there any fix?
     
  2. Yodaylay22

    Yodaylay22 Member

    Joined:
    Jul 24, 2018
    Messages:
    15
    Likes Received:
    1
    what ? explain better your error if possible to show prints and lines of code
     
  3. 07L

    07L Member

    Joined:
    Feb 23, 2019
    Messages:
    43
    Likes Received:
    0
    In placeholderapi, the skript expansion is only showing skript variables with a .0 at the end when it is above 2
     
  4. BrettPlayMC

    Supporter

    Joined:
    Jan 26, 2017
    Messages:
    715
    Likes Received:
    53
    You could remove it maybe by making a new variable without the .0...
     
  5. 07L

    07L Member

    Joined:
    Feb 23, 2019
    Messages:
    43
    Likes Received:
    0
    There is no .0 anyway
     
  6. Vrganj

    Vrganj Active Member

    Joined:
    Dec 1, 2018
    Messages:
    67
    Likes Received:
    2
    Probably has to do something with conversion and how variables in Java are saved...
     
Thread Status:
Not open for further replies.

Share This Page

Loading...