| Property | Value |
|---|---|
| Native Name | _GET_VOLUME_AMOUNT_OF_INDEXED_ITEMS |
| Hash | 0x2B32B11520626229 |
| Return Type | int |
| Build | 1207 |
| API Set | client |
| Parameters | x (float), y (float), z (float), radius (float), itemSet (ItemSet) |
Description: Indexes items (including entyties and peds) in a set volume Counts up as its the return value of how many items it writes to given itemSet
Usage
Lua (Direct):
local result = GetVolumeAmountOfIndexedItems(x, y, z, radius, itemSet)
Lua (Hash):
local result = Citizen.InvokeNative(0x2B32B11520626229, x, y, z, radius, itemSet)