setIgnoreNoGpsFlagUntilFirstNormalNode

SET_IGNORE_NO_GPS_FLAG_UNTIL_FIRST_NORMAL_NODE0x1FC289A0C3FF470F

The GTA V native SET_IGNORE_NO_GPS_FLAG_UNTIL_FIRST_NORMAL_NODE of the PATHFIND namespace, as LS:MP client scripts call it: the global function setIgnoreNoGpsFlagUntilFirstNormalNode, in JavaScript and in Lua.

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

Usage

JavaScript
setIgnoreNoGpsFlagUntilFirstNormalNode(toggle);
Lua
setIgnoreNoGpsFlagUntilFirstNormalNode(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

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.

Reference

Namespace
Pathfinding PATHFIND
In the game
void SET_IGNORE_NO_GPS_FLAG_UNTIL_FIRST_NORMAL_NODE(BOOL toggle)
Hash
0x1FC289A0C3FF470F
Formerly
_SET_IGNORE_SECONDARY_ROUTE_NODES

Open in the interactive natives reference