{"hash":"0x5240DA5A","ns":"CFX","name":"GET_RESOURCE_KVP_STRING","slug":"GET_RESOURCE_KVP_STRING","official":true,"named":true,"luaName":"GetResourceKvpString","game":"cfx","apiset":"shared","returnType":"char*","params":[{"name":"key","type":"char*","description":"The key to fetch"}],"returnsDescription":"The string value stored under the specified key, or nil/null if not found.","summary":"A getter for SET_RESOURCE_KVP.","descriptions":[{"source":"cfx","format":"md","body":"A getter for [SET_RESOURCE_KVP](#\\_0x21C7A35B)."}],"examples":[{"lang":"lua","code":"local kvpValue = GetResourceKvpString('codfish') \nif kvpValue then\n\t-- do something!\nend","source":"cfx"}],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":3,"url":"https://natives.borderlinerp.com/natives/CFX/GET_RESOURCE_KVP_STRING","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_RESOURCE_KVP_STRING.md","snippets":{"lua":"local retval = GetResourceKvpString(key)","luaInvoke":"local retval = Citizen.InvokeNative(0x5240da5a, key, Citizen.ResultAsString())","js":"const retval = GetResourceKvpString(key);","jsInvoke":"const retval = Citizen.invokeNative('0x5240da5a', key, Citizen.returnResultAnyway(), Citizen.resultAsString());","csharp":"string retval = Function.Call<string>((Hash)0x5240da5a, key);","notes":[]}}