natives.GENERATE RANDOM FLOAT IN RANGE

From GTA Connected
Revision as of 09:15, 12 June 2026 by Roxas (talk | contribs) (Add ScriptItem documentation from GTA VC SCM decompile)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

natives.GENERATE_RANDOM_FLOAT_IN_RANGE

Signature: void natives.GENERATE_RANDOM_FLOAT_IN_RANGE(float min, float max)

Usage: generates a random floating-point number between two values

Parameters

float min Minimum corner of the area.
float max Maximum corner of the area.

Return

void

On failure: void