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