RDR3 match
INVENTORY::INVENTORY_GET_GUID_FROM_ITEMID
0xE7A37576779202C1 ·RVA 0x03E8A200
Signature
BOOL INVENTORY_GET_GUID_FROM_ITEMID(
int inventoryId,
Any* guid,
Hash p2,
Hash slotId,
Any* outGuid
);
Parameters 5
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | int | inventoryId |
– |
| 1 | Any* | guid |
– |
| 2 | Hash | p2 |
– |
| 3 | Hash | slotId |
– |
| 4 | Any* | outGuid |
– |
Returns
BOOL
the game returns one byte.
Call it
// INVENTORY::INVENTORY_GET_GUID_FROM_ITEMID
auto result = invoke<BOOL>(0xE7A37576779202C1, inventoryId, &guid, p2, slotId, &outGuid);// INVENTORY::INVENTORY_GET_GUID_FROM_ITEMID
bool result = Function.Call<bool>((Hash)0xE7A37576779202C1, inventoryId, guid, p2, slotId, outGuid);-- INVENTORY::INVENTORY_GET_GUID_FROM_ITEMID
local result = Citizen.InvokeNative(0xE7A37576779202C1, inventoryId, guid, p2, slotId, outGuid)// INVENTORY::INVENTORY_GET_GUID_FROM_ITEMID
const result = Citizen.invokeNative("0xE7A37576779202C1", inventoryId, guid, p2, slotId, outGuid);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.