{"hash":"0xF4823C813CB8277D","ns":"WEAPON","name":"_REMOVE_AMMO_FROM_PED","slug":"_REMOVE_AMMO_FROM_PED","official":false,"named":true,"luaName":"RemoveAmmoFromPed","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"weaponHash","type":"Hash"},{"name":"amount","type":"int"},{"name":"removeReason","type":"Hash"}],"summary":"removeReason must be REMOVE_REASON_USED, REMOVE_REASON_GIVEN, REMOVE_REASON_DROPPED or REMOVE_REASON_DEBUG, unless amount is -1","descriptions":[{"source":"alloc8or","format":"text","body":"removeReason must be REMOVE_REASON_USED, REMOVE_REASON_GIVEN, REMOVE_REASON_DROPPED or REMOVE_REASON_DEBUG, unless amount is -1\n\nremoveReason: see REMOVE_WEAPON_FROM_PED"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_REMOVE_AMMO_FROM_PED","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_REMOVE_AMMO_FROM_PED.md","snippets":{"lua":"RemoveAmmoFromPed(ped, weaponHash, amount, removeReason)","luaInvoke":"Citizen.InvokeNative(0xF4823C813CB8277D, ped, weaponHash, amount, removeReason)","js":"RemoveAmmoFromPed(ped, weaponHash, amount, removeReason);","jsInvoke":"Citizen.invokeNative('0xF4823C813CB8277D', ped, weaponHash, amount, removeReason);","csharp":"Function.Call((Hash)0xF4823C813CB8277D, ped, weaponHash, amount, removeReason);","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."]}}