From 3957b039a5515438e0fc700d3ddc9aa3062813cb Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Fri, 25 Mar 2022 01:37:13 -0500 Subject: [PATCH] Revert help util on last commit + use locale string --- scripts/server/help.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/server/help.js b/scripts/server/help.js index df5aeae0..9ba36db8 100644 --- a/scripts/server/help.js +++ b/scripts/server/help.js @@ -380,7 +380,7 @@ function showCommandHelpMessage(client, commandName) { * */ function helpGetCarCommand(command, params, client) { - messagePlayerAlert(client, `You can buy a car by visiting a vehicle dealership. Use {ALTCOLOUR}/help vehicle {MAINCOLOUR}for more info.`); + messagePlayerAlert(client, getLocaleString(client, "CarCommandHelp", `{ALTCOLOUR}/help vehicle{MAINCOLOUR}`)); } // =========================================================================== @@ -395,7 +395,8 @@ function helpGetCarCommand(command, params, client) { * */ function helpGetSkinCommand(command, params, client) { - messagePlayerAlert(client, `You can change your skin by visiting a clothes store. Use {ALTCOLOUR}/help skin {MAINCOLOUR}for more info.`); + messagePlayerAlert(client, getLocaleString(client, "SkinCommandHelp", `{ALTCOLOUR}/help skin{MAINCOLOUR}`)); + messagePlayerAlert(client, ``); } // =========================================================================== \ No newline at end of file