Hello,
I am trying to round up a number by doing the command /mid it displays the distance between a predefined position, for example it shows 19.61.I would like it to take the nearest integer, in this case would like it to show 20.
Skript :
Thank's for help
I am trying to round up a number by doing the command /mid it displays the distance between a predefined position, for example it shows 19.61.I would like it to take the nearest integer, in this case would like it to show 20.
Skript :
code_language.skript:
command /setmid:
trigger:
set {Mid} to player's location
command /mid:
trigger:
set {MidPos.%player%} to distance between player and {Mid}
send "%{MidPos.%player%}%"
Thank's for help
Skript Version: 2.2
Skript Author: ?
Minecraft Version: 1.8.8
Errors on Reload : Nothing
Console Errors : Nothing
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums ? Yes
Skript Author: ?
Minecraft Version: 1.8.8
Errors on Reload : Nothing
Console Errors : Nothing
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums ? Yes