RandFloat

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

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 () )