22.02.2010, 23:02
Untested, should still work
pawn Код:
//GameModeInit
SetTimer("NightWeather", 5000, true);//Repeating NightWeather evry 5 seconds
//Somewhere in your script
forward NightWeather();
public NightWeather()
{
for(new i = 0; i < MAX_PLAYERS; i++)//i is now the id of all players
{
SetPlayerTime(i, 0);//Sets all players time to 0
SetPlayerWeather(i, 16);//Sets all players weather to 16
}
return 1;
}