Random: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
28days (talk | contribs)
No edit summary
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}}

Revision as of 18: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