{"hash":"0x964BAB1D","ns":"CFX","name":"GET_RESOURCE_METADATA","slug":"GET_RESOURCE_METADATA","official":true,"named":true,"luaName":"GetResourceMetadata","game":"cfx","apiset":"shared","returnType":"char*","params":[{"name":"resourceName","type":"char*","description":"The resource name."},{"name":"metadataKey","type":"char*","description":"The key in the resource manifest."},{"name":"index","type":"int","description":"The value index, in a range from \\[0..GET_NUM_RESOURCE_METDATA-1]."}],"summary":"Gets the metadata value at a specified key/index from a resource's manifest.","descriptions":[{"source":"cfx","format":"md","body":"Gets the metadata value at a specified key/index from a resource's manifest.\nSee also: [Resource manifest](https://docs.fivem.net/docs/scripting-reference/resource-manifest/)"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_RESOURCE_METADATA","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_RESOURCE_METADATA.md","snippets":{"lua":"local retval = GetResourceMetadata(resourceName, metadataKey, index)","luaInvoke":"local retval = Citizen.InvokeNative(0x964bab1d, resourceName, metadataKey, index, Citizen.ResultAsString())","js":"const retval = GetResourceMetadata(resourceName, metadataKey, index);","jsInvoke":"const retval = Citizen.invokeNative('0x964bab1d', resourceName, metadataKey, index, Citizen.returnResultAnyway(), Citizen.resultAsString());","csharp":"string retval = Function.Call<string>((Hash)0x964bab1d, resourceName, metadataKey, index);","notes":[]}}