The Lab
DATAFILE native

DATAFILE_DELETE

returns void1 parambuild 1207

Deletes the data file in slot index and frees its memory.

Signature

C
void DATAFILE_DELETE(int index); // 0x9FB90EEDEA9F2D5C b1207

Parameters

#NameType
1indexint

Facts

Facts about DATAFILE_DELETE
Name
DATAFILE_DELETE
Hash
0x9FB90EEDEA9F2D5C
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x9FB90EEDEA9F2D5C, -- DATAFILE_DELETE
  0 -- int index
)
JavaScript
Citizen.invokeNative("0x9FB90EEDEA9F2D5C", // DATAFILE_DELETE
  0 // int index
);
C#
Function.Call((Hash)0x9FB90EEDEA9F2D5C, // DATAFILE_DELETE
  0 // int index
);
All DATAFILE natives

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