{"hash":"0x8483E98E8B888AE2","ns":"WEAPON","name":"GET_BEST_PED_WEAPON","slug":"GET_BEST_PED_WEAPON","official":true,"named":true,"luaName":"GetBestPedWeapon","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"ped","type":"Ped"},{"name":"p1","type":"BOOL"},{"name":"p2","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x8483E98E8B888AE2","gtaJhash":"0xB998D444","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/WEAPON/GET_BEST_PED_WEAPON","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/GET_BEST_PED_WEAPON.md","snippets":{"lua":"local retval = GetBestPedWeapon(ped, p1, p2)","luaInvoke":"local retval = Citizen.InvokeNative(0x8483E98E8B888AE2, ped, p1, p2, Citizen.ResultAsInteger())","js":"const retval = GetBestPedWeapon(ped, p1, p2);","jsInvoke":"const retval = Citizen.invokeNative('0x8483E98E8B888AE2', ped, p1, p2, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x8483E98E8B888AE2, ped, p1, p2);","notes":[]}}