07.11.2010, 16:07
Код:
forward Weather(playerid, reason); public Weather(playerid, reason) { new weather = random(10); SetWeather(weather); switch(weather) { case 1: { SendClientMessage(playerid, COLOR_ORANGERED, "[WEATHER] Sunny with a chance of a slight breeze"); } case 2: { SendClientMessage(playerid, COLOR_ORANGERED, "[WEATHER] Cloudy with alot of wind"); } } return 1; }