{"hash":"0xC6A6789BB405D11C","ns":"WEAPON","name":"_GET_WEAPON_OBJECT_FROM_PED","slug":"_GET_WEAPON_OBJECT_FROM_PED","official":false,"named":true,"luaName":"GetWeaponObjectFromPed","game":"rdr3","apiset":"client","returnType":"Object","params":[{"name":"ped","type":"Ped"},{"name":"p1","type":"BOOL"}],"summary":"Detaches the weapon from the ped and actually removes the ped's weapon","descriptions":[{"source":"alloc8or","format":"text","body":"Detaches the weapon from the ped and actually removes the ped's weapon"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_GET_WEAPON_OBJECT_FROM_PED","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_GET_WEAPON_OBJECT_FROM_PED.md","snippets":{"lua":"local retval = GetWeaponObjectFromPed(ped, p1)","luaInvoke":"local retval = Citizen.InvokeNative(0xC6A6789BB405D11C, ped, p1, Citizen.ResultAsInteger())","js":"const retval = GetWeaponObjectFromPed(ped, p1);","jsInvoke":"const retval = Citizen.invokeNative('0xC6A6789BB405D11C', ped, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xC6A6789BB405D11C, ped, p1);","notes":["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."]}}