_0xB1DD74A1F5536622
Hash
0xB1DD74A1F5536622Runtime name
N_0xb1dd74a1f5536622NamespaceINVENTORY
SideClient
NameHash only
Docs
Since build1311
Signature
BOOL _0xB1DD74A1F5536622(int inventoryId, Any* itemGUID);Parameters
| Name | Type | Description |
|---|---|---|
inventoryId | int | — |
itemGUID | Any* | — |
Returns BOOL
Usage
local retval, itemGUID = N_0xb1dd74a1f5536622(inventoryId, itemGUID)
-- always works, by hash
local retval, itemGUID = Citizen.InvokeNative(0xB1DD74A1F5536622, inventoryId, Citizen.PointerValueIntInitialized(itemGUID), Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, itemGUID] = N_0xb1dd74a1f5536622(inventoryId, itemGUID);
// by hash
const [retval, itemGUID] = Citizen.invokeNative('0xB1DD74A1F5536622', inventoryId, Citizen.pointerValueIntInitialized(itemGUID), Citizen.returnResultAnyway());var itemGUID = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xB1DD74A1F5536622, inventoryId, itemGUID);
// itemGUID.GetResult<int>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
Any*arguments are often structs. Build them with a DataView buffer and pass it with:Buffer()— see the examples and notes below.- This native has no known name, so the runtime exposes it only as
N_0xb1dd74a1f5536622(if present in the client snapshot).InvokeNativewith the hash always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.