Dont display speedometer on F7

This commit is contained in:
hydrant
2018-10-31 19:42:11 +01:00
parent e5be3783f6
commit 6f3b4eaac3
3 changed files with 6 additions and 4 deletions

View File

@@ -49,14 +49,15 @@ mp.events.add("toggleUi", (show) => {
mp.game.ui.displayRadar(false);
mp.game.ui.displayHud(false);
mp.gui.chat.show(false);
globalData.HideGui = true;
} else {
draw = true;
mp.game.ui.displayRadar(true);
mp.game.ui.displayHud(true);
mp.gui.chat.show(true);
globalData.HideGui = false;
}
})
});
//function currencyFormatDE(num) {
// return ('$' + num.toFixed(2).replace('.', ',').replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1.'));