The Lab
DATABINDING native

_DATABINDING_ADD_DATA_STRING

returns Any3 paramsbuild 1207

Adds a string entry named p1 under the given data container and returns the new entry id.

Signature

C
Any _DATABINDING_ADD_DATA_STRING(Any p0, const char* p1, const char* p2); // 0x617FCA1C5652BBAD b1207

Parameters

#NameType
1p0Any
2p1const char*
3p2const char*

Facts

Facts about _DATABINDING_ADD_DATA_STRING
Name
_DATABINDING_ADD_DATA_STRING
Hash
0x617FCA1C5652BBAD
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(0x617FCA1C5652BBAD, -- _DATABINDING_ADD_DATA_STRING
  0, -- Any p0
  "text", -- const char* p1
  "text", -- const char* p2
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x617FCA1C5652BBAD", // _DATABINDING_ADD_DATA_STRING
  0, // Any p0
  "text", // const char* p1
  "text", // const char* p2
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x617FCA1C5652BBAD, // _DATABINDING_ADD_DATA_STRING
  0, // Any p0
  "text", // const char* 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.