How can i check that which number a player has added in a "/" command in?
for example :
/time set <number>
how can i check which number the player has put in the command ?
and i also need help with math.random :
i want to know how to get random number with a decimal place in math.random
i know that how to get a number between 1-20
var random = Math.floor((Math.random()*20)+1);
but how can i get a number between 1-20 with a decimal place ?
for example :
/time set <number>
how can i check which number the player has put in the command ?
and i also need help with math.random :
i want to know how to get random number with a decimal place in math.random
i know that how to get a number between 1-20
but how can i get a number between 1-20 with a decimal place ?