HUDClient

setMinimapFowRevealCoordinate

SET_MINIMAP_FOW_REVEAL_COORDINATE0x0923DBF87DFF735E

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

SignatureJavaScript
setMinimapFowRevealCoordinate(x: number, y: number, z: number): void
SignatureLua
setMinimapFowRevealCoordinate(x: number, y: number, z: number)

Usage

JavaScript
setMinimapFowRevealCoordinate(x, y, z);
Lua
setMinimapFowRevealCoordinate(x, y, z)

Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.

JavaScript · with vectors
setMinimapFowRevealCoordinate(pos);
Lua · with vectors
setMinimapFowRevealCoordinate(pos)

Parameters

ParameterTypeJavaScriptLua
xfloatnumbernumber
yfloatnumbernumber
zfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Up to eight coordinates may be revealed per frame

Reference

Namespace
HUD HUD
In the game
void SET_MINIMAP_FOW_REVEAL_COORDINATE(float x, float y, float z)
Hash
0x0923DBF87DFF735E

Open in the interactive natives reference