{"hash":"0xBF90DF1A","ns":"CFX","name":"SET_PED_AMMO","slug":"SET_PED_AMMO","official":true,"named":true,"luaName":"SetPedAmmo","game":"cfx","apiset":"server","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"weaponHash","type":"Hash"},{"name":"ammo","type":"int"}],"summary":"NativeDB Added Parameter 4: BOOL p3 This is the server-side RPC native equivalent of the client native SET_PED_AMMO.","descriptions":[{"source":"cfx","format":"md","body":"```\nNativeDB Added Parameter 4: BOOL p3\n```\n\n**This is the server-side RPC native equivalent of the client native [SET_PED_AMMO](?\\_0x14E56BC5B5DB6A19).**"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_PED_AMMO","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_PED_AMMO.md","snippets":{"lua":"SetPedAmmo(ped, weaponHash, ammo)","luaInvoke":"Citizen.InvokeNative(0xbf90df1a, ped, weaponHash, ammo)","js":"SetPedAmmo(ped, weaponHash, ammo);","jsInvoke":"Citizen.invokeNative('0xbf90df1a', ped, weaponHash, ammo);","csharp":"Function.Call((Hash)0xbf90df1a, 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` ``."]}}