getGpsBlipRouteLength

GET_GPS_BLIP_ROUTE_LENGTH0xBBB45C3CF5C8AA85

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

SignatureJavaScript
getGpsBlipRouteLength(): number
SignatureLua
getGpsBlipRouteLength(): integer

Usage

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

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Pathfinding PATHFIND
In the game
int GET_GPS_BLIP_ROUTE_LENGTH()
Hash
0xBBB45C3CF5C8AA85

Open in the interactive natives reference