HUDClient

getMinimapFowDiscoveryRatio

GET_MINIMAP_FOW_DISCOVERY_RATIO0xE0130B41D3CF4574

The GTA V native GET_MINIMAP_FOW_DISCOVERY_RATIO of the HUD namespace, as LS:MP client scripts call it: the global function getMinimapFowDiscoveryRatio, in JavaScript and in Lua.

SignatureJavaScript
getMinimapFowDiscoveryRatio(): number
SignatureLua
getMinimapFowDiscoveryRatio(): number

Usage

JavaScript
const value = getMinimapFowDiscoveryRatio();
Lua
local value = getMinimapFowDiscoveryRatio()

Parameters

None.

Returns

float JavaScript number, Lua number

Reference

Namespace
HUD HUD
In the game
float GET_MINIMAP_FOW_DISCOVERY_RATIO()
Hash
0xE0130B41D3CF4574
Formerly
_GET_MINIMAP_REVEAL_PERCENTAGE

Open in the interactive natives reference