RegisterResourceAsset
Docslocal retval = RegisterResourceAsset(resourceName, fileName)Description
Experimental: This native may be altered or removed in future versions of CitizenFX without warning.
Registers a cached resource asset with the resource system, similar to the automatic scanning of the stream/ folder.
Parameters
| Name | Type | Description |
|---|---|---|
resourceName | char* | The resource to add the asset to. |
fileName | char* | A file name in the resource. |
Returns
char*