{"hash":"0x6D3AC61694A791C5","ns":"WEAPON","name":"_GET_WEAPON_NAME_2","slug":"_GET_WEAPON_NAME_2","official":false,"named":true,"luaName":"GetWeaponName_2","game":"rdr3","apiset":"client","returnType":"const char*","params":[{"name":"weaponHash","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/WEAPON/_GET_WEAPON_NAME_2","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_GET_WEAPON_NAME_2.md","snippets":{"lua":"local retval = GetWeaponName_2(weaponHash)","luaInvoke":"local retval = Citizen.InvokeNative(0x6D3AC61694A791C5, weaponHash, Citizen.ResultAsString())","js":"const retval = GetWeaponName_2(weaponHash);","jsInvoke":"const retval = Citizen.invokeNative('0x6D3AC61694A791C5', weaponHash, Citizen.returnResultAnyway(), Citizen.resultAsString());","csharp":"string retval = Function.Call<string>((Hash)0x6D3AC61694A791C5, weaponHash);","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` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}