PARSEDDATA_IS_FILE_VALID
Returns true if fileHandle refers to a valid parsed data file.
Signature
BOOL PARSEDDATA_IS_FILE_VALID(int fileHandle); // 0x7907969497EA92F5 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | fileHandle | int |
Facts
| Name | PARSEDDATA_IS_FILE_VALID |
|---|---|
| Hash | 0x7907969497EA92F5 |
| 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 = Citizen.InvokeNative(0x7907969497EA92F5, -- PARSEDDATA_IS_FILE_VALID
0 -- int fileHandle
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x7907969497EA92F5", // PARSEDDATA_IS_FILE_VALID
0, // int fileHandle
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x7907969497EA92F5, // PARSEDDATA_IS_FILE_VALID
0 // int fileHandle
);Related DATAFILE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.