MathHelperGetRandomInteger Method (Int32, Int32)

RAGE Plugin Hook Documentation

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

Gets a random integer 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 int GetRandomInteger(
	int minimum,
	int maximum
)

Parameters

minimum
Type: SystemInt32
The minimum value.
maximum
Type: SystemInt32
The maximum value.

Return Value

Type: Int32
A random integer between minimum and maximum, inclusive.
See Also

Reference