The Lab
DATABINDING native

_DATABINDING_GET_ARRAY_COUNT

returns Any1 parambuild 1207

Returns the number of items in the binding array entryId.

Signature

C
Any _DATABINDING_GET_ARRAY_COUNT(Hash entryId); // 0xD23F5DE04FE717E2 b1207

Parameters

#NameType
1entryIdHash

Facts

Facts about _DATABINDING_GET_ARRAY_COUNT
Name
_DATABINDING_GET_ARRAY_COUNT
Hash
0xD23F5DE04FE717E2
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(0xD23F5DE04FE717E2, -- _DATABINDING_GET_ARRAY_COUNT
  GetHashKey("name"), -- Hash entryId
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xD23F5DE04FE717E2", // _DATABINDING_GET_ARRAY_COUNT
  GetHashKey("name"), // Hash entryId
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0xD23F5DE04FE717E2, // _DATABINDING_GET_ARRAY_COUNT
  (uint)API.GetHashKey("name") // Hash entryId
);
All DATABINDING natives

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