isSphereVisibleToPlayer
IS_SPHERE_VISIBLE_TO_PLAYER0xDC3A310219E5DA62The GTA V native IS_SPHERE_VISIBLE_TO_PLAYER of the NETWORK namespace, as LS:MP client scripts call it: the global function isSphereVisibleToPlayer, in JavaScript and in Lua.
isSphereVisibleToPlayer(
p0: any,
p1: number,
p2: number,
p3: number,
p4: number
): booleanisSphereVisibleToPlayer(
p0: any,
p1: number,
p2: number,
p3: number,
p4: number
): booleanUsage
JavaScript
const result = isSphereVisibleToPlayer(p0, p1, p2, p3, p4);Lua
local result = isSphereVisibleToPlayer(p0, p1, p2, p3, p4)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | Any | any | any |
p1 | float | number | number |
p2 | float | number | number |
p3 | float | number | number |
p4 | float | number | number |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Network NETWORK
- In the game
BOOL IS_SPHERE_VISIBLE_TO_PLAYER(Any p0, float p1, float p2, float p3, float p4)- Hash
0xDC3A310219E5DA62