BOOL _INVENTORY_ADD_ITEM_WITH_GUID(`inventoryId` (int), `guid1` (Any*), `guid2` (Any*), `item` (Hash), `inventoryItemSlot` (Hash), `p5` (int), `addReason` (Hash));
Description: inventoryItemSlotHash: https://pastebin.com/P6fyr3vr
| Property |
Value |
| Native Name |
_INVENTORY_ADD_ITEM_WITH_GUID |
| Hash |
0xCB5D11F9508A928D |
| Return Type |
BOOL |
| Build |
1207 |
| Parameters |
inventoryId (int), guid1 (Any*), guid2 (Any*), item (Hash), inventoryItemSlot (Hash), p5 (int), addReason (Hash) |
Parameters
inventoryId (int)
guid1 (Any*)
guid2 (Any*)
item (Hash)
inventoryItemSlot (Hash)
p5 (int)
addReason (Hash)
Usage
Lua (Direct):
local result = InventoryAddItemWithGuid(inventoryId, guid1, guid2, item, inventoryItemSlot, p5, addReason)
Lua (Hash):
local result = Citizen.InvokeNative(0xCB5D11F9508A928D, inventoryId, guid1, guid2, item, inventoryItemSlot, p5, addReason)
Back to INVENTORY