RandFloat: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
==Description==
==Description==
This function returns a random float between 0 and 1.
This function returns a random float between 0 and 1. This can act as a random on/off switch for something.


==Syntax==
==Syntax==

Revision as of 03:22, 18 May 2006

Description

This function returns a random float between 0 and 1. This can act as a random on/off switch for something.

Syntax

randFloat ()

Required Arguments

None.

Example

serverChat ( "Random float: ", randFloat () )