RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. LOAD_RESOURCE_FILE

LOAD_RESOURCE_FILE

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")`

CFX

Signature

lua
LoadResourceFile(resourceName, fileName)
-- returns char*

Parameters

NameTypeDescription
char*The resource name.
char*The file in the resource.

Usage

lua
LoadResourceFile(resourceName, fileName)

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