Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new
- WeatherNews[][][] =
- {
- {"Sunny", "Good to visit the beach"},
- {"Sunny", "Perfect to swim"},
- {"Heatwave", "Perfect to stay at home"},
- {"Sunny", "Perfect to Drive"},
- {"Foggy with Heat", "land at your nearest airport"},
- {"Heat Wave", "do not use much clothes"},
- {"Heat Wave", "do not use much clothes"},
- {"Cloudy", "watch out for rain"},
- {"Heavy Rain", "You better get to the Evac Center"},
- {"Foggy", "land at your nearest airport"},
- {"Sunny", "But watch out for rain"},
- {"Sunny", "Perfect to ride a bicycle"},
- {"Cloudy", "do not leave without your umbrella"},
- {"Sunny", "perfect to fly"},
- {"Sunny", "Perfect to walk"},
- {"Cloudy", "Watch out"},
- {"Rain", "get your umbrella"},
- {"Sunny with some heat","do not take many clothes"},
- {"Sand Storm", "Do not drive or fly"},
- {"Heavy Clouds", "Be careful and take your umbrella"}
- //And you can continue adding here ,{"Weathername", "Info"}
- };
- forward ChangeWeather();
- public ChangeWeather()
- {
- new news[128], R = random(sizeof WeatherNews);
- format(news, sizeof news, "[WEATHER NEWS] It's gonna be %s now, %s!", WeatherNews[R][0], WeatherNews[R][1]);
- SendClientMessageToAll(COLOR_SEA, news);
- SetWeather(R);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment