RedM Natives

_DATABINDING_ADD_DATA_CONTAINER_FROM_PATH_BY_HASH

p0 seems to always be empty string, p1 is the hash of the path

Hash0xD7DB94AB78E8EBE4
Runtime nameDatabindingAddDataContainerFromPathByHash
NamespaceDATABINDING
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Any _DATABINDING_ADD_DATA_CONTAINER_FROM_PATH_BY_HASH(const char* p0, Hash path);

Parameters

NameTypeDescription
p0const char*—
pathHash—

Returns Any

Description

VORPCORE RDR3natives

p0 seems to always be empty string, p1 is the hash of the path

Usage

Lua
local retval = DatabindingAddDataContainerFromPathByHash(p0, path)

-- always works, by hash
local retval = Citizen.InvokeNative(0xD7DB94AB78E8EBE4, p0, path, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = DatabindingAddDataContainerFromPathByHash(p0, path);

// by hash
const retval = Citizen.invokeNative('0xD7DB94AB78E8EBE4', p0, path, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xD7DB94AB78E8EBE4, p0, path);
  • 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 · VORPCORE RDR3natives

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