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