GraphicsClientChecked by LS:MP

isTrackedPointVisible

IS_TRACKED_POINT_VISIBLE0xC45CCDAAC9221CA8

The GTA V native IS_TRACKED_POINT_VISIBLE of the GRAPHICS namespace, as LS:MP client scripts call it: the global function isTrackedPointVisible, in JavaScript and in Lua.

SignatureJavaScript
isTrackedPointVisible(point: number): boolean
SignatureLua
isTrackedPointVisible(point: integer): boolean

Usage

JavaScript
const result = isTrackedPointVisible(point);
Lua
local result = isTrackedPointVisible(point)

Parameters

ParameterTypeJavaScriptLua
pointintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

On LS:MP

ℹ
Checked by LS:MP

point must be a tracked point that is currently allocated. Otherwise the call is ignored and returns false: nothing reaches the game, and no error is raised.

Reference

Namespace
Graphics GRAPHICS
In the game
BOOL IS_TRACKED_POINT_VISIBLE(int point)
Hash
0xC45CCDAAC9221CA8

Open in the interactive natives reference