SCAN_RESOURCE_ROOT
Scans the resources in the specified resource root. This function is only available in the 'monitor mode' process and is not available for user resources.
CFX
Signature
lua
ScanResourceRoot(rootPath, callback)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| char* | The resource directory to scan. | |
| func | A callback that will receive an object with results. |
Usage
lua
ScanResourceRoot(rootPath, callback)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
