newLoadSceneStartSphere
NEW_LOAD_SCENE_START_SPHERE0xACCFB4ACF53551B0The GTA V native NEW_LOAD_SCENE_START_SPHERE of the STREAMING namespace, as LS:MP client scripts call it: the global function newLoadSceneStartSphere, in JavaScript and in Lua.
newLoadSceneStartSphere(
x: number,
y: number,
z: number,
radius: number,
p4: any
): booleannewLoadSceneStartSphere(
x: number,
y: number,
z: number,
radius: number,
p4: any
): booleanUsage
JavaScript
const result = newLoadSceneStartSphere(x, y, z, radius, p4);Lua
local result = newLoadSceneStartSphere(x, y, z, radius, p4)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
const result = newLoadSceneStartSphere(pos, radius, p4);Lua · with vectors
local result = newLoadSceneStartSphere(pos, radius, p4)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
x | float | number | number |
y | float | number | number |
z | float | number | number |
radius | float | number | number |
p4 | Any | any | any |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Streaming STREAMING
- In the game
BOOL NEW_LOAD_SCENE_START_SPHERE(float x, float y, float z, float radius, Any p4)- Hash
0xACCFB4ACF53551B0