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