_GET_ENTITIES_IN_VOLUME
Fills itemSet with entities of type entityType inside the volume and returns how many were found.
Create the item set first and destroy it after reading the results.
Signature
int _GET_ENTITIES_IN_VOLUME(Volume volume, ItemSet itemSet, int entityType); // 0x886171A12F400B89 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | volume | Volume |
| 2 | itemSet | ItemSet |
| 3 | entityType | int |
Facts
| Name | _GET_ENTITIES_IN_VOLUME |
|---|---|
| Hash | 0x886171A12F400B89 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x886171A12F400B89, -- _GET_ENTITIES_IN_VOLUME
0, -- Volume volume
0, -- ItemSet itemSet
0, -- int entityType
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x886171A12F400B89", // _GET_ENTITIES_IN_VOLUME
0, // Volume volume
0, // ItemSet itemSet
0, // int entityType
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x886171A12F400B89, // _GET_ENTITIES_IN_VOLUME
0, // Volume volume
0, // ItemSet itemSet
0 // int entityType
);Related ENTITY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.