_GET_INTERIOR_POSITION
Returns the world position of the given interior.
Signature
Vector3 _GET_INTERIOR_POSITION(Interior interior); // 0x2C9746D0CA15BE1C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | interior | Interior |
Facts
| 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.
local coords = Citizen.InvokeNative(0x2C9746D0CA15BE1C, -- _GET_INTERIOR_POSITION
0, -- Interior interior
Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)const coords = Citizen.invokeNative("0x2C9746D0CA15BE1C", // _GET_INTERIOR_POSITION
0, // Interior interior
Citizen.resultAsVector()
);
const [x, y, z] = coordsVector3 coords = Function.Call<Vector3>((Hash)0x2C9746D0CA15BE1C, // _GET_INTERIOR_POSITION
0 // Interior interior
);Related INTERIOR natives
- _GET_INTERIOR_MINIMAP_HASH
- GET_INTERIOR_AT_COORDS
- GET_INTERIOR_AT_COORDS_WITH_TYPE
- GET_INTERIOR_AT_COORDS_WITH_TYPEHASH
- GET_INTERIOR_FROM_COLLISION
- GET_INTERIOR_FROM_ENTITY
- GET_INTERIOR_FROM_PRIMARY_VIEW
- GET_INTERIOR_LOCATION_AND_NAMEHASH
- _IS_INTERIOR_ENTITY_SET_VALID
- ACTIVATE_INTERIOR_ENTITY_SET
- DEACTIVATE_INTERIOR_ENTITY_SET
- DISABLE_INTERIOR
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.