The Lab
INTERIOR native

_GET_INTERIOR_POSITION

returns Vector31 parambuild 1207

Returns the world position of the given interior.

Signature

C
Vector3 _GET_INTERIOR_POSITION(Interior interior); // 0x2C9746D0CA15BE1C b1207

Parameters

#NameType
1interiorInterior

Facts

Facts about _GET_INTERIOR_POSITION
Name
_GET_INTERIOR_POSITION
Hash
0x2C9746D0CA15BE1C
Namespace
Returns
Vector3
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local coords = Citizen.InvokeNative(0x2C9746D0CA15BE1C, -- _GET_INTERIOR_POSITION
  0, -- Interior interior
  Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)
JavaScript
const coords = Citizen.invokeNative("0x2C9746D0CA15BE1C", // _GET_INTERIOR_POSITION
  0, // Interior interior
  Citizen.resultAsVector()
);
const [x, y, z] = coords
C#
Vector3 coords = Function.Call<Vector3>((Hash)0x2C9746D0CA15BE1C, // _GET_INTERIOR_POSITION
  0 // Interior interior
);
All INTERIOR natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.