HUDClient

addPointToGpsMultiRoute

ADD_POINT_TO_GPS_MULTI_ROUTE0xA905192A6781C41B

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

SignatureJavaScript
addPointToGpsMultiRoute(x: number, y: number, z: number): void
SignatureLua
addPointToGpsMultiRoute(x: number, y: number, z: number)

Usage

JavaScript
addPointToGpsMultiRoute(x, y, z);
Lua
addPointToGpsMultiRoute(x, y, z)

Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.

JavaScript · with vectors
addPointToGpsMultiRoute(pos);
Lua · with vectors
addPointToGpsMultiRoute(pos)

Parameters

ParameterTypeJavaScriptLua
xfloatnumbernumber
yfloatnumbernumber
zfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void ADD_POINT_TO_GPS_MULTI_ROUTE(float x, float y, float z)
Hash
0xA905192A6781C41B

Open in the interactive natives reference