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 intParameters
| Name | Type | Description |
|---|---|---|
| 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
