[FilterScript] [FS]Automatically Weather Changer
#7

pawn Код:
new Weather, str[12];
forward ChangeWeather();
public OnFilterScriptInit()
  return SetTimer("ChangeWeather", 60000, 1);
public ChangeWeather()
{
  if(Weather < 23)
    Weather++;
  else
    Weather = 0;
  format(str, 12, weather %d", Weather);
  SendRconCommand(str);
  for(new i = 0; i < GetMaxPlayers(); i++)
    if(IsPlayerConnected(i))
      SetPlayerTime(i, Weather, 00);
  return 1;
}
lol..
Reply


Messages In This Thread
[FS]Automatically Weather Changer - by [DrM]Losi[CL] - 14.11.2008, 12:07
Re: [FS]Automatically Weather Changer - by rafay - 14.11.2008, 12:20
Re: [FS]Automatically Weather Changer - by Rks25 - 14.11.2008, 13:12
Re: [FS]Automatically Weather Changer - by shitbird - 14.11.2008, 14:59
Re: [FS]Automatically Weather Changer - by pspleo - 14.11.2008, 15:02
Re: [FS]Automatically Weather Changer - by [DrM]Losi[CL] - 14.11.2008, 15:50
Re: [FS]Automatically Weather Changer - by Toad - 14.11.2008, 17:41
Re: [FS]Automatically Weather Changer - by Deviant96 - 09.07.2011, 20:25
Re: [FS]Automatically Weather Changer - by Brunok - 09.07.2011, 22:29

Forum Jump:


Users browsing this thread: 1 Guest(s)