toggleTcs

toggleTcs()

Toggles the TCS assist on the current vehicle and return it's current state.

        local tcsPressed = WarMenu.CheckBox("Toggle TCS",tcsActive)
        if WarMenu.IsItemHovered() then
            WarMenu.ToolTip('Toggles the Traction Control System',nil,true)
        end
        if tcsPressed then tcsActive = dynamic:toggleTcs() end