SHOWTUNINGMENU KOSTENLOS

This commit is contained in:
hydrant
2021-04-02 22:21:15 +02:00
parent 64be514a3d
commit e8cb2f3f29
2 changed files with 3 additions and 3 deletions

View File

@@ -165,7 +165,7 @@ export default function tuning(globalData: IGlobalData) {
var currentActiveModItem = new Array<NativeUI.UIMenuItem>();
var currentSelectedItem: VehicleModMenuItem = null;
mp.events.add("showTuningMenu", () => {
mp.events.add("showTuningMenu", (noMoney) => {
mp.events.call("hideTuningInfo", false);
mp.gui.chat.show(false);
@@ -226,7 +226,7 @@ export default function tuning(globalData: IGlobalData) {
}
}
var price = getModSlotPrice(modType);
var price = noMoney? 0 : getModSlotPrice(modType);
if (mod === null) {