{"hash":"0xEBA2081E0A5F4D17","ns":"TASK","name":"_CLEAR_VEHICLE_TASKS_SECONDARY","slug":"_CLEAR_VEHICLE_TASKS_SECONDARY","official":false,"named":true,"luaName":"ClearVehicleTasksSecondary","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"vehicle","type":"Vehicle"}],"summary":"Clears the vehicle's secondary/aux AI task slot (behaviors/overlays).","descriptions":[{"source":"alloc8or","format":"text","body":"Clears the vehicle's secondary/aux AI task slot (behaviors/overlays).\nIn R* Scripts, this is often called right after _CLEAR_VEHICLE_TASKS to fully stop/flush vehicle behavior."},{"source":"vorp","format":"text","body":"in the decompiles seems to always be paired with _CLEAR_VEHICLE_TASKS"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_CLEAR_VEHICLE_TASKS_SECONDARY","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_CLEAR_VEHICLE_TASKS_SECONDARY.md","snippets":{"lua":"ClearVehicleTasksSecondary(vehicle)","luaInvoke":"Citizen.InvokeNative(0xEBA2081E0A5F4D17, vehicle)","js":"ClearVehicleTasksSecondary(vehicle);","jsInvoke":"Citizen.invokeNative('0xEBA2081E0A5F4D17', vehicle);","csharp":"Function.Call((Hash)0xEBA2081E0A5F4D17, vehicle);","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."]}}