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