The Lab
DATABINDING native

_DATABINDING_ADD_DATA_INT

returns Any3 paramsbuild 1207

Adds an integer entry named p1 under the given data container and returns the new entry id.

Signature

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

Parameters

#NameType
1p0Any
2p1const char*
3p2Hash

Facts

Facts about _DATABINDING_ADD_DATA_INT
Name
_DATABINDING_ADD_DATA_INT
Hash
0x307A3247C5457BDE
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(0x307A3247C5457BDE, -- _DATABINDING_ADD_DATA_INT
  0, -- Any p0
  "text", -- const char* p1
  GetHashKey("name"), -- Hash p2
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x307A3247C5457BDE", // _DATABINDING_ADD_DATA_INT
  0, // Any p0
  "text", // const char* p1
  GetHashKey("name"), // Hash p2
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x307A3247C5457BDE, // _DATABINDING_ADD_DATA_INT
  0, // Any p0
  "text", // const char* p1
  (uint)API.GetHashKey("name") // Hash p2
);
All DATABINDING natives

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