diff --git a/client/main.lua b/client/main.lua index 6d4af4b3..b9319cd2 100644 --- a/client/main.lua +++ b/client/main.lua @@ -43,6 +43,15 @@ RegisterNetEvent('esx_lscustom:cancelInstallMod') AddEventHandler('esx_lscustom:cancelInstallMod', function() local vehicle = GetVehiclePedIsIn(PlayerPedId(), false) ESX.Game.SetVehicleProperties(vehicle, myCar) + if not (myCar.modTurbo) then + ToggleVehicleMod(vehicle, 18, false) + end + if not (myCar.modXenon) then + ToggleVehicleMod(vehicle, 22, false) + end + if not (myCar.windowTint) then + SetVehicleWindowTint(vehicle, 0) + end end) function OpenLSMenu(elems, menuName, menuTitle, parent)