예제 #1
0
        public static void ForceWeather(Client client, int weatherId)
        {
            if (!client.hasData("player"))
            {
                return;
            }
            Player player = client.getData("player");

            if (player.Account.AdminLvl < 5)
            {
                return;
            }
            WeatherService.ChangeWeatherOnce(weatherId);
            SendNotificionToAllAdmins(client.socialClubName + " changed Weather to ID: " + weatherId, 5);
        }