{"hash":"0x8A779706DA5CA3DD","ns":"WEAPON","name":"_SET_VEHICLE_WEAPON_RELOAD_MODE","slug":"_SET_VEHICLE_WEAPON_RELOAD_MODE","official":false,"named":true,"luaName":"SetVehicleWeaponReloadMode","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"vehicle","type":"Vehicle"},{"name":"noReload","type":"BOOL"},{"name":"p2","type":"int"}],"summary":"Toggles reload behavior for certain vehicle-mounted cannons.","descriptions":[{"source":"alloc8or","format":"text","body":"Toggles reload behavior for certain vehicle-mounted cannons.\n\nParams:\n- vehicle: Vehicle with the mounted cannon.\n- noReload: true = disable reload (continuous fire), false = normal reload.\n- p2: unk, always -1 in R* scripts.\n\nNotes:\n- Observed only in SP scripts (native_son2, native_son3, smuggler2).\n- Observed to apply to cannon vehicles (e.g., breach_cannon, hotchkiss_cannon), not general vehicle weapons/turrets."},{"source":"vorp","format":"text","body":"Enables/disables reload behavior for vehicle-mounted **cannons**.\nWhen noReload is true, the cannon fires without requiring a reload; when false, it must reload after shots.\nSupported vehicles only:**breach_cannon** and **hotchkiss_cannon**"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_SET_VEHICLE_WEAPON_RELOAD_MODE","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_SET_VEHICLE_WEAPON_RELOAD_MODE.md","snippets":{"lua":"SetVehicleWeaponReloadMode(vehicle, noReload, p2)","luaInvoke":"Citizen.InvokeNative(0x8A779706DA5CA3DD, vehicle, noReload, p2)","js":"SetVehicleWeaponReloadMode(vehicle, noReload, p2);","jsInvoke":"Citizen.invokeNative('0x8A779706DA5CA3DD', vehicle, noReload, p2);","csharp":"Function.Call((Hash)0x8A779706DA5CA3DD, vehicle, noReload, p2);","notes":["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."]}}