night and weather
#2

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;
}
Reply


Messages In This Thread
night and weather - by bartje01 - 22.02.2010, 22:57
Re: night and weather - by bajskorv123 - 22.02.2010, 23:02
Re: night and weather - by bartje01 - 22.02.2010, 23:05
Re: night and weather - by addinol - 22.02.2010, 23:07
Re: night and weather - by bartje01 - 22.02.2010, 23:08
Re: night and weather - by bajskorv123 - 22.02.2010, 23:18

Forum Jump:


Users browsing this thread: 1 Guest(s)