HUDClient

setWaypointOff

SET_WAYPOINT_OFF0xA7E4E2D361C2627F

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

SignatureJavaScript
setWaypointOff(): void
SignatureLua
setWaypointOff()

Usage

JavaScript
setWaypointOff();
Lua
setWaypointOff()

Parameters

None.

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.

This native removes the current waypoint from the map.

Example:
C#:

Function.Call(Hash.SET_WAYPOINT_OFF);

C++:

setWaypointOff();

Reference

Namespace
HUD HUD
In the game
void SET_WAYPOINT_OFF()
Hash
0xA7E4E2D361C2627F

Open in the interactive natives reference