NewLoadSceneStartSphere
Docslocal retval = NewLoadSceneStartSphere(x, y, z, radius, p4)Description
if (!sub_8f12("START LOAD SCENE SAFE")) {
if (CUTSCENE::GET_CUTSCENE_TIME() > 4178) {
STREAMING::_ACCFB4ACF53551B0(1973.845458984375, 3818.447265625, 32.43629837036133, 15.0, 2);
sub_8e9e("START LOAD SCENE SAFE", 1);
}
}
(Previously known as STREAMING::_NEW_LOAD_SCENE_START_SAFE)Parameters
| Name | Type | Description |
|---|---|---|
x | float | — |
y | float | — |
z | float | — |
radius | float | — |
p4 | Any | — |
Quick Snippet: Get Coordinatesxyz
xyzAdd this command to your client script to retrieve precise locations in-game.
-- Add this to your client.lua. Type /pos in-game to copy coords.
RegisterCommand('pos', function()
local ped = PlayerPedId()
local coords = GetEntityCoords(ped)
local heading = GetEntityHeading(ped)
local output = string.format("vector4(%.2f, %.2f, %.2f, %.2f)", coords.x, coords.y, coords.z, heading)
print(output)
TriggerEvent('chat:addMessage', { args = { '^4[COORD]^0', output } })
end)Returns
BOOLReturns TRUE (1) or FALSE (0).