[FilterScript] [FS]Automatically Weather Changer
#1

The weather is changed every minutes with this script.

Script by [DrM]Losi


Reply
#2

nice but where are more easier ways to do this..
Reply
#3

you used very "less"timers
Reply
#4

Easy, but a nice one mate.
Reply
#5

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

Thx all replies but i'm not pro scripter
Reply
#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
#8

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

Thanks man!
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)