MiscClient

addTacticalNavMeshPoint

ADD_TACTICAL_NAV_MESH_POINT0xB8721407EE9C3FF6

The GTA V native ADD_TACTICAL_NAV_MESH_POINT of the MISC namespace, as LS:MP client scripts call it: the global function addTacticalNavMeshPoint, in JavaScript and in Lua.

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

Usage

JavaScript
addTacticalNavMeshPoint(x, y, z);
Lua
addTacticalNavMeshPoint(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
addTacticalNavMeshPoint(pos);
Lua · with vectors
addTacticalNavMeshPoint(pos)

Parameters

ParameterTypeJavaScriptLua
xfloatnumbernumber
yfloatnumbernumber
zfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Misc MISC
In the game
void ADD_TACTICAL_NAV_MESH_POINT(float x, float y, float z)
Hash
0xB8721407EE9C3FF6
Formerly
_ADD_TACTICAL_ANALYSIS_POINT

Open in the interactive natives reference