Skip to content

LoadResourceFile ​

клиент + сервер LOAD_RESOURCE_FILE

c
char* LOAD_RESOURCE_FILE(char* resourceName, char* fileName);

Reads the contents of a text file in a specified resource. If executed on the client, this file has to be included in files in the resource manifest. Example: local data = LoadResourceFile("devtools", "data.json")

Параметры ​

  • resourceName: The resource name.
  • fileName: The file in the resource.

Возвращает ​

The file contents


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

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