SA-MP Forums Archive
[FilterScript] [FS]Automatically Weather Changer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS]Automatically Weather Changer (/showthread.php?tid=55305)



[FS]Automatically Weather Changer - [DrM]Losi[CL] - 14.11.2008

The weather is changed every minutes with this script.
Download links:

http://www.drmclan.hu/modok/weatherchanger_losi.pwn
http://www.drmclan.hu/modok/weatherchanger_losi.amx

Script by [DrM]Losi





Re: [FS]Automatically Weather Changer - rafay - 14.11.2008

nice but where are more easier ways to do this..


Re: [FS]Automatically Weather Changer - Rks25 - 14.11.2008

you used very "less"timers


Re: [FS]Automatically Weather Changer - shitbird - 14.11.2008

Easy, but a nice one mate.


Re: [FS]Automatically Weather Changer - pspleo - 14.11.2008

Quote:
Originally Posted by Mikkel
Easy, but a nice one mate.
...
Well the script has lots of unnessesary timers, but the idea is nice.


Re: [FS]Automatically Weather Changer - [DrM]Losi[CL] - 14.11.2008

Thx all replies but i'm not pro scripter


Re: [FS]Automatically Weather Changer - Toad - 14.11.2008

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..


Re: [FS]Automatically Weather Changer - Deviant96 - 09.07.2011

It's too fast. I edited it, so, the weather changed every an hour.


Re: [FS]Automatically Weather Changer - Brunok - 09.07.2011

Thanks man!