RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_NUM_RESOURCE_METADATA

GET_NUM_RESOURCE_METADATA

Gets the amount of metadata values with the specified key existing in the specified resource's manifest. See also: [Resource manifest](https://docs.fivem.net/docs/scripting-reference/resource-manifest/)

CFX

Signature

lua
GetNumResourceMetadata(resourceName, metadataKey)
-- returns int

Parameters

NameTypeDescription
char*The resource name.
char*The key to look up in the resource manifest.

Usage

lua
GetNumResourceMetadata(resourceName, metadataKey)

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