{"hash":"0xBD5DD5EAE2B6CE14","ns":"HUD","name":"GET_STRING_FROM_HASH_KEY","slug":"GET_STRING_FROM_HASH_KEY","official":true,"named":true,"luaName":"GetStringFromHashKey","game":"rdr3","apiset":"client","returnType":"const char*","params":[{"name":"labelHash","type":"Hash"}],"summary":"Returns the label text given the hash.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the label text given the hash.\n\nOld name: _GET_LABEL_TEXT_BY_HASH"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/HUD/GET_STRING_FROM_HASH_KEY","markdownUrl":"https://natives.borderlinerp.com/natives/HUD/GET_STRING_FROM_HASH_KEY.md","snippets":{"lua":"local retval = GetStringFromHashKey(labelHash)","luaInvoke":"local retval = Citizen.InvokeNative(0xBD5DD5EAE2B6CE14, labelHash, Citizen.ResultAsString())","js":"const retval = GetStringFromHashKey(labelHash);","jsInvoke":"const retval = Citizen.invokeNative('0xBD5DD5EAE2B6CE14', labelHash, Citizen.returnResultAnyway(), Citizen.resultAsString());","csharp":"string retval = Function.Call<string>((Hash)0xBD5DD5EAE2B6CE14, labelHash);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``."]}}