toggleAntilag
toggleAntilag()
Toggles the anti-lag, will use audio bank from the antilag profile specified in the vehData.lua file. Needs to have a turbo equiped on the vehicle, else it will not work.
Example:
local antiLag = WarMenu.CheckBox("Toggle Antilag",antilagActive)
if WarMenu.IsItemHovered() then
WarMenu.ToolTip('Toggles the Antilag System (Make sure to set a turbo for it to work.)',nil,true)
end
if antiLag then antilagActive = dynamic:toggleAntilag() end
Last updated