LoadResourceFile — FiveM Natives
0x76A9EE1F · CFX · shared
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")
Parameters
| Name | Type | Description |
|---|---|---|
| resourceName | char* | The resource name. |
| fileName | char* | The file in the resource. |
Returns
char*