MathHelperGetRandomSingle Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Gets a random single precision floating point number between the specified minimum and maximum value, inclusive.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static float GetRandomSingle(
	float minimum,
	float maximum
)

Parameters

minimum
Type: SystemSingle
The minimum value.
maximum
Type: SystemSingle
The maximum value.

Return Value

Type: Single
A random single precision floating point number between minimum and maximum, inclusive.
See Also

Reference