User Tools

Site Tools


number

This is an old revision of the document!


Number


A number is a scripting data type for representing numeric values. When specifying these values in scripts they should only contain the digits 0-9 (no commas) with an optional decimal point for fractions. The random number syntax or an arithmetic expression can be used in place of a literal value where a numeric value is expected.

Examples:

wait(2.75)
set_movement_speed(player, 60)
number.1582758794.txt.gz · Last modified: 2020/02/26 15:13 by justin