{"hash":"0x14E56BC5B5DB6A19","ns":"WEAPON","name":"SET_PED_AMMO","slug":"SET_PED_AMMO","official":true,"named":true,"luaName":"SetPedAmmo","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"weaponHash","type":"Hash"},{"name":"ammo","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x14E56BC5B5DB6A19","gtaJhash":"0xBF90DF1A","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/WEAPON/SET_PED_AMMO","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/SET_PED_AMMO.md","snippets":{"lua":"SetPedAmmo(ped, weaponHash, ammo)","luaInvoke":"Citizen.InvokeNative(0x14E56BC5B5DB6A19, ped, weaponHash, ammo)","js":"SetPedAmmo(ped, weaponHash, ammo);","jsInvoke":"Citizen.invokeNative('0x14E56BC5B5DB6A19', ped, weaponHash, ammo);","csharp":"Function.Call((Hash)0x14E56BC5B5DB6A19, ped, weaponHash, ammo);","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` ``."]}}