setTrackedPointInfo
SET_TRACKED_POINT_INFO0x164ECBB3CF750CB0The GTA V native SET_TRACKED_POINT_INFO of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setTrackedPointInfo, in JavaScript and in Lua.
setTrackedPointInfo(
point: number,
x: number,
y: number,
z: number,
radius: number
): voidsetTrackedPointInfo(
point: integer,
x: number,
y: number,
z: number,
radius: number
)Usage
JavaScript
setTrackedPointInfo(point, x, y, z, radius);Lua
setTrackedPointInfo(point, x, y, z, radius)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
setTrackedPointInfo(point, pos, radius);Lua · with vectors
setTrackedPointInfo(point, pos, radius)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
point | int | number | integer |
x | float | number | number |
y | float | number | number |
z | float | number | number |
radius | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
On LS:MP
ℹ
Checked by LS:MP
point must be a tracked point that is currently allocated; x, y, z, radius must be finite numbers. Otherwise the call is ignored: nothing reaches the game, and no error is raised.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void SET_TRACKED_POINT_INFO(int point, float x, float y, float z, float radius)- Hash
0x164ECBB3CF750CB0