HUDClient

setUseSetDestinationInPauseMap

SET_USE_SET_DESTINATION_IN_PAUSE_MAP0x6CDD58146A436083

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

SignatureJavaScript
setUseSetDestinationInPauseMap(toggle: boolean): void
SignatureLua
setUseSetDestinationInPauseMap(toggle: boolean)

Usage

JavaScript
setUseSetDestinationInPauseMap(toggle);
Lua
setUseSetDestinationInPauseMap(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_USE_SET_DESTINATION_IN_PAUSE_MAP(BOOL toggle)
Hash
0x6CDD58146A436083
Introduced
Game build 573 legacy numbering
Formerly
_SET_USE_WAYPOINT_AS_DESTINATION

Open in the interactive natives reference