_0x0349404A22736740
Only used in R* SP Scripts
Hash
0x0349404A22736740Runtime name
N_0x0349404a22736740NamespaceINVENTORY
SideClient
NameHash only
Docs
Since build1207
Signature
void _0x0349404A22736740(BOOL p0, int inventoryId, Any* guid);Parameters
| Name | Type | Description |
|---|---|---|
p0 | BOOL | — |
inventoryId | int | — |
guid | Any* | — |
Returns void
Description
Params: p0 is only 0 or 1
Only used in R* SP Scripts
Usage
local guid = N_0x0349404a22736740(p0, inventoryId, guid)
-- always works, by hash
local guid = Citizen.InvokeNative(0x0349404A22736740, p0, inventoryId, Citizen.PointerValueIntInitialized(guid))JavaScript and C#
const guid = N_0x0349404a22736740(p0, inventoryId, guid);
// by hash
const guid = Citizen.invokeNative('0x0349404A22736740', p0, inventoryId, Citizen.pointerValueIntInitialized(guid));var guid = new OutputArgument();
Function.Call((Hash)0x0349404A22736740, p0, inventoryId, guid);
// guid.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_0x0349404a22736740(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.