loadScene
LOAD_SCENE0x4448EB75B4904BDBThe GTA V native LOAD_SCENE of the STREAMING namespace, as LS:MP client scripts call it: the global function loadScene, in JavaScript and in Lua.
loadScene(x: number, y: number, z: number): voidloadScene(x: number, y: number, z: number)Usage
JavaScript
loadScene(x, y, z);Lua
loadScene(x, y, z)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
loadScene(pos);Lua · with vectors
loadScene(pos)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
x | float | number | number |
y | float | number | number |
z | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Streaming STREAMING
- In the game
void LOAD_SCENE(float x, float y, float z)- Hash
0x4448EB75B4904BDB