Round up coordinates

Discussion in 'Skript' started by Sileence, Jun 17, 2021.

Thread Status:
Not open for further replies.
  1. Is there a way to round up coordinates like
    Code (Text):
    command /location:
      trigger:
        set {x::%player%} rounded up x-coordinate of location of player
        send "&a%{x::%player%}%"
    if the x coordinate of the player is 100 its like 100.25 or something in the chat
     
  2. Code (Text):
    set {x::%player%} to round x-coordinate of location of player
    should work
     
  3. Thank you bro
     
    • Like Like x 1
Thread Status:
Not open for further replies.