DATADICT_IS_ARRAY_VALID
Returns true if fileDict points to a valid data array.
Signature
BOOL DATADICT_IS_ARRAY_VALID(Any* fileDict); // 0xB04B69CF277D15C0 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | fileDict | Any* (out pointer) |
Facts
| Name | DATADICT_IS_ARRAY_VALID |
|---|---|
| Hash | 0xB04B69CF277D15C0 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, fileDict = Citizen.InvokeNative(0xB04B69CF277D15C0, -- DATADICT_IS_ARRAY_VALID
Citizen.PointerValueInt(), -- Any* fileDict
Citizen.ReturnResultAnyway()
)
if result then
-- ...
endconst [result, fileDict] = Citizen.invokeNative("0xB04B69CF277D15C0", // DATADICT_IS_ARRAY_VALID
Citizen.pointerValueInt(), // Any* fileDict
Citizen.returnResultAnyway()
);
if (result) {
// ...
}var fileDictArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xB04B69CF277D15C0, // DATADICT_IS_ARRAY_VALID
fileDictArg // Any* fileDict
);
int fileDict = fileDictArg.GetResult<int>();Related DATAFILE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.