Skip to content

SaveResourceFile ​

сервер SAVE_RESOURCE_FILE

c
BOOL SAVE_RESOURCE_FILE(char* resourceName, char* fileName, char* data, int dataLength);

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.

Параметры ​

  • resourceName: The name of the resource.
  • fileName: The name of the file.
  • data: The data to write to the file.
  • dataLength: The length of the written data.

Возвращает ​

A value indicating if the write succeeded.


Страница собрана автоматически из native-decls/SaveResourceFile.md. Нашли ошибку — поправьте исходный файл.

Независимый проект на базе Cfx.re. Не связан с Rockstar Games и Take-Two Interactive.