getNextGpsDisabledZoneIndex

GET_NEXT_GPS_DISABLED_ZONE_INDEX0xD3A6A0EF48823A8C

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

SignatureJavaScript
getNextGpsDisabledZoneIndex(): number
SignatureLua
getNextGpsDisabledZoneIndex(): integer

Usage

JavaScript
const result = getNextGpsDisabledZoneIndex();
Lua
local result = getNextGpsDisabledZoneIndex()

Parameters

None.

Returns

int JavaScript number, Lua integer

Notes

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

Gets the next zone that has been disabled using setGpsDisabledZoneAtIndex.

Reference

Namespace
Pathfinding PATHFIND
In the game
int GET_NEXT_GPS_DISABLED_ZONE_INDEX()
Hash
0xD3A6A0EF48823A8C

Open in the interactive natives reference