DATAFILE_DELETE_REQUESTED_FILE
Based on its name and signature, here is our best reading:
Deletes a previously requested data file and returns true on success.
Signature
BOOL DATAFILE_DELETE_REQUESTED_FILE(Any p0); // 0x604B8ED1A482F9DF b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Any |
Facts
| Name | DATAFILE_DELETE_REQUESTED_FILE |
|---|---|
| Hash | 0x604B8ED1A482F9DF |
| 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(0x604B8ED1A482F9DF, -- DATAFILE_DELETE_REQUESTED_FILE
0 -- Any p0
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x604B8ED1A482F9DF", // DATAFILE_DELETE_REQUESTED_FILE
0, // Any p0
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x604B8ED1A482F9DF, // DATAFILE_DELETE_REQUESTED_FILE
0 // Any p0
);Related DATAFILE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.