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