Fix weather name display in setweather cmd
This commit is contained in:
@@ -722,7 +722,7 @@ function setWeatherCommand(command, params, client) {
|
|||||||
gta.forceWeather(toInteger(weatherId));
|
gta.forceWeather(toInteger(weatherId));
|
||||||
getServerConfig().weather = weatherId;
|
getServerConfig().weather = weatherId;
|
||||||
|
|
||||||
messageAdminAction(`${client.name} set the weather to [#AAAAAA]${weatherNames[getServerGame()][toInteger(weatherId)]}`);
|
messageAdminAction(`${client.name} set the weather to [#AAAAAA]${getGameData().weatherNames[getServerGame()][toInteger(weatherId)]}`);
|
||||||
updateServerRules();
|
updateServerRules();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user