{"hash":"0xBDDA0C290C228159","ns":"WEAPON","name":"_SET_AMMO_IN_TURRET","slug":"_SET_AMMO_IN_TURRET","official":false,"named":true,"luaName":"SetAmmoInTurret","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"vehicle","type":"Vehicle"},{"name":"turretHash","type":"Hash"},{"name":"ammo","type":"int"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"turretHash: WEAPON_TURRET_MAXIUM, WEAPON_TURRET_GATLING, WEAPON_TURRET_CANNON, WEAPON_TURRET_REVOLVING_CANNON"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_SET_AMMO_IN_TURRET","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_SET_AMMO_IN_TURRET.md","snippets":{"lua":"SetAmmoInTurret(vehicle, turretHash, ammo)","luaInvoke":"Citizen.InvokeNative(0xBDDA0C290C228159, vehicle, turretHash, ammo)","js":"SetAmmoInTurret(vehicle, turretHash, ammo);","jsInvoke":"Citizen.invokeNative('0xBDDA0C290C228159', vehicle, turretHash, ammo);","csharp":"Function.Call((Hash)0xBDDA0C290C228159, vehicle, turretHash, 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` ``.","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."]}}