diff --git a/scripts/server/config.js b/scripts/server/config.js index e51e4f56..4b51fe9f 100644 --- a/scripts/server/config.js +++ b/scripts/server/config.js @@ -33,6 +33,7 @@ let globalConfig = { new serverClasses.keyBindData(false, toInteger(SDLK_l), "lock"), new serverClasses.keyBindData(false, toInteger(SDLK_f), "enter"), new serverClasses.keyBindData(false, toInteger(SDLK_g), "passenger"), + new serverClasses.keyBindData(false, toInteger(SDLK_m), "cursor"), ], exitPropertyDistance: 3.0, enterPropertyDistance: 3.0, @@ -392,7 +393,7 @@ function setWeatherCommand(command, params, client) { gta.forceWeather(toInteger(weatherId)); - messageAdminAction(`${client.name} set the weather to [#AAAAAA]${weatherNames[server.game][toInteger(weatherId)]}`); + messageAdminAction(`${client.name} set the weather to [#AAAAAA]${weatherNames[getServerGame()][toInteger(weatherId)]}`); updateServerRules(); return true; }