Files
reallife-gamemode/Client/Tuning/main.js
2018-10-21 21:45:11 +02:00

15 lines
480 B
JavaScript

/**
* @overview Life of German Reallife - Tuning tuning.js
* @author hydrant
* @copyright (c) 2008 - 2018 Life of German
*/
mp.events.add('showTuningInfo', () => {
mp.game.ui.setTextComponentFormat('STRING');
mp.game.ui.addTextComponentSubstringPlayerName('Drücke ~INPUT_CONTEXT~, um dein Fahrzeug zu modifizieren');
mp.game.ui.displayHelpTextFromStringLabel(0, true, true, -1);
});
mp.events.add('hideTuningInfo', () => {
mp.game.ui.clearHelp(true);
});