RedM Natives

_VIRTUAL_COLLECTION_ITEM_ADD

Hash0x6DCBF187221CF73D
Runtime nameVirtualCollectionItemAdd
NamespaceDATABINDING
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _VIRTUAL_COLLECTION_ITEM_ADD(Any p0, int index, Hash p2, Any p3);

Parameters

NameTypeDescription
p0Any—
indexint—
p2Hash—
p3Any—

Returns void

Usage

Lua
VirtualCollectionItemAdd(p0, index, p2, p3)

-- always works, by hash
Citizen.InvokeNative(0x6DCBF187221CF73D, p0, index, p2, p3)
JavaScript and C#
JavaScript
VirtualCollectionItemAdd(p0, index, p2, p3);

// by hash
Citizen.invokeNative('0x6DCBF187221CF73D', p0, index, p2, p3);
C#
Function.Call((Hash)0x6DCBF187221CF73D, p0, index, p2, p3);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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