GET_VOLUME_ROTATION
Returns the rotation of volume.
Signature
Vector3 GET_VOLUME_ROTATION(Volume volume); // 0x18675BC914891122 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | volume | Volume |
Facts
| Name | GET_VOLUME_ROTATION |
|---|---|
| Hash | 0x18675BC914891122 |
| 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(0x18675BC914891122, -- GET_VOLUME_ROTATION
0, -- Volume volume
Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)const coords = Citizen.invokeNative("0x18675BC914891122", // GET_VOLUME_ROTATION
0, // Volume volume
Citizen.resultAsVector()
);
const [x, y, z] = coordsVector3 coords = Function.Call<Vector3>((Hash)0x18675BC914891122, // GET_VOLUME_ROTATION
0 // Volume volume
);Related VOLUME natives
- GET_VOLUME_COORDS
- GET_VOLUME_LOCK_REQUEST_STATUS
- GET_VOLUME_SCALE
- _ADD_BOX_VOLUME_TO_VOLUME_AGGREGATE
- _ADD_CYLINDER_VOLUME_TO_VOLUME_AGGREGATE
- _ADD_SPHERE_VOLUME_TO_VOLUME_AGGREGATE
- _ADD_VOLUME_TO_VOLUME_AGGREGATE
- _GET_VOLUME_AMOUNT_OF_INDEXED_ITEMS
- _GET_VOLUME_BOUNDS
- _GET_VOLUME_RELATIONSHIP
- DOES_VOLUME_COLLIDE_WITH_ANY_VOLUME_LOCK
- SET_VOLUME_ROTATION
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.