{"hash":"0x9080363A","ns":"CFX","name":"GET_EXTERNAL_KVP_STRING","slug":"GET_EXTERNAL_KVP_STRING","official":true,"named":true,"luaName":"GetExternalKvpString","game":"cfx","apiset":"client","returnType":"char*","params":[{"name":"resource","type":"char*","description":"The resource to fetch from."},{"name":"key","type":"char*","description":"The key to fetch"}],"returnsDescription":"A string that contains the value stored in the Kvp or nil/null if none.","summary":"A getter for SET_RESOURCE_KVP, but for a specified resource.","descriptions":[{"source":"cfx","format":"md","body":"A getter for [SET_RESOURCE_KVP](#\\_0x21C7A35B), but for a specified resource."}],"examples":[{"lang":"lua","code":"local kvpValue = GetExternalKvpString('food', '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_EXTERNAL_KVP_STRING","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_EXTERNAL_KVP_STRING.md","snippets":{"lua":"local retval = GetExternalKvpString(resource, key)","luaInvoke":"local retval = Citizen.InvokeNative(0x9080363a, resource, key, Citizen.ResultAsString())","js":"const retval = GetExternalKvpString(resource, key);","jsInvoke":"const retval = Citizen.invokeNative('0x9080363a', resource, key, Citizen.returnResultAnyway(), Citizen.resultAsString());","csharp":"string retval = Function.Call<string>((Hash)0x9080363a, resource, key);","notes":[]}}