SaveResourceFile — FiveM Natives
0xA09E7E7B · CFX · server
Writes the specified data to a file in the specified resource. Using a length of -1 will automatically detect the length assuming the data is a C string.
Parameters
| Name | Type | Description |
|---|---|---|
| resourceName | char* | The name of the resource. |
| fileName | char* | The name of the file. |
| data | char* | The data to write to the file. |
| dataLength | int | The length of the written data. |
Returns
BOOL