Dokumentation
Indbyggede funktioner
Funktioner 15
Absolute value.
Rounds up.
Rounds down.
A number with thousands separators, e.g. format(1234567.5, 2) is 1,234,567.50.
Drops the decimals of a number (also converts text).
Length of a text, list or map.
Largest of the values (or of a list).
Smallest of the values (or of a list).
Converts text to a number, or none if it is not a number.
Writes values to the server console.
A list of numbers: range(3) is [0, 1, 2], range(1, 4) is [1, 2, 3].
Rounds to the nearest whole number, or to a number of decimals.
Converts a value to text.
Total of a list of numbers.
Name of a value's type, such as "number", "text" or "player".
Argumenttyper til kommandoer
numberintwordtextboolplayerworldpaperservervelocity