DATAFILE_GET_FILE_DICT
Returns the root dictionary of the data file in slot index.
Pass the result to the DATADICT_GET_* natives to read values.
Signature
Any* DATAFILE_GET_FILE_DICT(int index); // 0xBBD8CF823CAE557C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | index | int |
Facts
| Name | DATAFILE_GET_FILE_DICT |
|---|---|
| Hash | 0xBBD8CF823CAE557C |
| Namespace | |
| Returns | Any* |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xBBD8CF823CAE557C, -- DATAFILE_GET_FILE_DICT
0, -- int index
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xBBD8CF823CAE557C", // DATAFILE_GET_FILE_DICT
0, // int index
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xBBD8CF823CAE557C, // DATAFILE_GET_FILE_DICT
0 // int index
);Related DATAFILE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.