_PARSEDDATA_LOAD_FILE_HASH
Loads the parsed data file identified by the hash p0 and returns a file handle.
Check it with PARSEDDATA_IS_FILE_LOADED and free it with _PARSEDDATA_UNLOAD_FILE.
Signature
int _PARSEDDATA_LOAD_FILE_HASH(Hash p0); // 0xD97D8D905F1562F2 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Hash |
Facts
| Name | _PARSEDDATA_LOAD_FILE_HASH |
|---|---|
| Hash | 0xD97D8D905F1562F2 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xD97D8D905F1562F2, -- _PARSEDDATA_LOAD_FILE_HASH
GetHashKey("name"), -- Hash p0
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xD97D8D905F1562F2", // _PARSEDDATA_LOAD_FILE_HASH
GetHashKey("name"), // Hash p0
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xD97D8D905F1562F2, // _PARSEDDATA_LOAD_FILE_HASH
(uint)API.GetHashKey("name") // Hash p0
);Related DATAFILE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.