setAllowStreamHeistIslandNodes

SET_ALLOW_STREAM_HEIST_ISLAND_NODES0xF74B1FFA4A15FBEA

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

SignatureJavaScript
setAllowStreamHeistIslandNodes(type: number): void
SignatureLua
setAllowStreamHeistIslandNodes(type: integer)

Usage

JavaScript
setAllowStreamHeistIslandNodes(type);
Lua
setAllowStreamHeistIslandNodes(type)

Parameters

ParameterTypeJavaScriptLua
typeintnumberinteger

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.

Activates Cayo Perico path nodes if passed 1. GPS navigation will start working, maybe more stuff will change, not sure. It seems if you try to unload (pass 0) when close to the island, your game might crash.

Reference

Namespace
Pathfinding PATHFIND
In the game
void SET_ALLOW_STREAM_HEIST_ISLAND_NODES(int type)
Hash
0xF74B1FFA4A15FBEA
Introduced
Game build 2189 legacy numbering
Formerly
_SET_AI_GLOBAL_PATH_NODES_TYPE

Open in the interactive natives reference