RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SCAN_RESOURCE_ROOT

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 void

Parameters

NameTypeDescription
char*The resource directory to scan.
funcA 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

On this page

  • Signature
  • Parameters
  • Usage
  • Details