The Lab
MISC native

_GET_VOLUME_FROM_INDEXED_ITEM

returns Volume1 parambuild 1207

Returns the volume referenced by the item set entry item.

Signature

C
Volume _GET_VOLUME_FROM_INDEXED_ITEM(ScrHandle item); // 0xF18AF483DF70BBDE b1207

Parameters

#NameType
1itemScrHandle

Facts

Facts about _GET_VOLUME_FROM_INDEXED_ITEM
Name
_GET_VOLUME_FROM_INDEXED_ITEM
Hash
0xF18AF483DF70BBDE
Namespace
Returns
Volume
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local volume = Citizen.InvokeNative(0xF18AF483DF70BBDE, -- _GET_VOLUME_FROM_INDEXED_ITEM
  0, -- ScrHandle item
  Citizen.ResultAsInteger()
)
print(volume)
JavaScript
const volume = Citizen.invokeNative("0xF18AF483DF70BBDE", // _GET_VOLUME_FROM_INDEXED_ITEM
  0, // ScrHandle item
  Citizen.resultAsInteger()
);
console.log(volume)
C#
int volume = Function.Call<int>((Hash)0xF18AF483DF70BBDE, // _GET_VOLUME_FROM_INDEXED_ITEM
  0 // ScrHandle item
);
All MISC natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.