RedM Natives

_0x0349404A22736740

Only used in R* SP Scripts

Hash0x0349404A22736740
Runtime nameN_0x0349404a22736740
NamespaceINVENTORY
SideClient
NameHash only
Docs
Since build1207

Signature

void _0x0349404A22736740(BOOL p0, int inventoryId, Any* guid);

Parameters

NameTypeDescription
p0BOOL—
inventoryIdint—
guidAny*—

Returns void

Description

Params: p0 is only 0 or 1
Only used in R* SP Scripts

Usage

Lua
local guid = N_0x0349404a22736740(p0, inventoryId, guid)

-- always works, by hash
local guid = Citizen.InvokeNative(0x0349404A22736740, p0, inventoryId, Citizen.PointerValueIntInitialized(guid))
JavaScript and C#
JavaScript
const guid = N_0x0349404a22736740(p0, inventoryId, guid);

// by hash
const guid = Citizen.invokeNative('0x0349404A22736740', p0, inventoryId, Citizen.pointerValueIntInitialized(guid));
C#
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). InvokeNative with the hash always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.