Difference between revisions of "Random"

From Onset Developer Wiki
 
Line 3: Line 3:
 
{{FuncDescription|Get a pseudo-random number.}}
 
{{FuncDescription|Get a pseudo-random number.}}
  
{{FuncSyntax|Random([, Min, Max])}}
+
{{FuncSyntax|Random([Min, Max])}}
  
 
{{FuncParameters}}
 
{{FuncParameters}}

Latest revision as of 19:31, 3 December 2019

Random

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Get a pseudo-random number.

Syntax

Random([Min, Max])

Parameters

  • Min (optional)
    The minimum number.
  • Max (optional)
    The maximum number.

Return Value

  • Returns the random between the range.

Example

__EDIT_ME__

See also