random_float

Syntax

native Float:random_float(Float:a, Float:b);

Usage

a
Minimum value (inclusive)
b
Maximum value (inclusive)

Description

Returns a random floating point value generated by the engine.

Return

Generated random value