_GET_VOLUME_RELATIONSHIP
Returns the relationship group hash assigned to volume.
Signature
Hash _GET_VOLUME_RELATIONSHIP(Volume volume); // 0x666C2F53ABEFC952 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | volume | Volume |
Facts
| Name | _GET_VOLUME_RELATIONSHIP |
|---|---|
| Hash | 0x666C2F53ABEFC952 |
| Namespace | |
| Returns | Hash |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local hash = Citizen.InvokeNative(0x666C2F53ABEFC952, -- _GET_VOLUME_RELATIONSHIP
0, -- Volume volume
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0x666C2F53ABEFC952", // _GET_VOLUME_RELATIONSHIP
0, // Volume volume
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0x666C2F53ABEFC952, // _GET_VOLUME_RELATIONSHIP
0 // Volume volume
);Related VOLUME natives
- _GET_VOLUME_AMOUNT_OF_INDEXED_ITEMS
- _GET_VOLUME_BOUNDS
- _ADD_BOX_VOLUME_TO_VOLUME_AGGREGATE
- _ADD_CYLINDER_VOLUME_TO_VOLUME_AGGREGATE
- _ADD_SPHERE_VOLUME_TO_VOLUME_AGGREGATE
- _ADD_VOLUME_TO_VOLUME_AGGREGATE
- _SET_VOLUME_RELATIONSHIP
- DOES_VOLUME_COLLIDE_WITH_ANY_VOLUME_LOCK
- GET_VOLUME_COORDS
- GET_VOLUME_LOCK_REQUEST_STATUS
- GET_VOLUME_ROTATION
- GET_VOLUME_SCALE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.