MathHelperGetRandomInteger Method (Int32)

RAGE Plugin Hook Documentation

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

Gets a random integer between 0, inclusive, and the specified maximum value, exclusive.

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

public static int GetRandomInteger(
	int maximum
)

Parameters

maximum
Type: SystemInt32
The maximum value, exclusive.

Return Value

Type: Int32
A random integer between 0, inclusive, and the specified maximum value, exclusive.
See Also

Reference