RandFloat: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
Line 11: Line 11:


==Example==
==Example==
  [[serverChat]] ( "Random float: ", randFloat () )
  [[serverChat]] ( "Random float: ", [[randFloat]] () )

Revision as of 13:47, 30 March 2006

Description

This function returns a random float between 0 and 1.

Syntax

float randFloat ()

Required Arguments

None.

Example

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