The Lab
DATAFILE native

DATAFILE_DELETE_REQUESTED_FILE

returns BOOL1 parambuild 1207

Based on its name and signature, here is our best reading:

Deletes a previously requested data file and returns true on success.

Signature

C
BOOL DATAFILE_DELETE_REQUESTED_FILE(Any p0); // 0x604B8ED1A482F9DF b1207

Parameters

#NameType
1p0Any

Facts

Facts about DATAFILE_DELETE_REQUESTED_FILE
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.

Lua
local result = Citizen.InvokeNative(0x604B8ED1A482F9DF, -- DATAFILE_DELETE_REQUESTED_FILE
  0 -- Any p0
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x604B8ED1A482F9DF", // DATAFILE_DELETE_REQUESTED_FILE
  0, // Any p0
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x604B8ED1A482F9DF, // DATAFILE_DELETE_REQUESTED_FILE
  0 // Any p0
);
All DATAFILE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.