The Lab
DATABINDING native

_DATABINDING_ADD_DATA_STRING_BY_HASH

returns Any3 paramsbuild 1207

Adds a string entry identified by hash under the given data container and returns the new entry id.

Signature

C
Any _DATABINDING_ADD_DATA_STRING_BY_HASH(Any p0, Hash p1, const char* p2); // 0xEAD09E76E22630C3 b1207

Parameters

#NameType
1p0Any
2p1Hash
3p2const char*

Facts

Facts about _DATABINDING_ADD_DATA_STRING_BY_HASH
Name
_DATABINDING_ADD_DATA_STRING_BY_HASH
Hash
0xEAD09E76E22630C3
Namespace
Returns
Any
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xEAD09E76E22630C3, -- _DATABINDING_ADD_DATA_STRING_BY_HASH
  0, -- Any p0
  GetHashKey("name"), -- Hash p1
  "text", -- const char* p2
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xEAD09E76E22630C3", // _DATABINDING_ADD_DATA_STRING_BY_HASH
  0, // Any p0
  GetHashKey("name"), // Hash p1
  "text", // const char* p2
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0xEAD09E76E22630C3, // _DATABINDING_ADD_DATA_STRING_BY_HASH
  0, // Any p0
  (uint)API.GetHashKey("name"), // Hash p1
  "text" // const char* p2
);
All DATABINDING natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.