SA-MP Forums Archive
[FilterScript] [FS] jRand - Random Time / Weather - 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] jRand - Random Time / Weather (/showthread.php?tid=47008)



[FS] jRand - Random Time / Weather - Redirect Left - 13.08.2008

This is a very simple filterscript that will randomly change the weather and time on the server it is loaded at, default is every 10 minutes, but it's easily changable by the define.
Note that this was quickly thrown together, so it's not that good, but it gets it's job done.

Download v1.0 here: http://joltnet.info/dloads/jRand.zip (default 10 minutes) OR http://joltnet.info/dloads/jRand2.zip (default 30 minutes)

Plans for future:
Add ability to disable / enable the weather/time random changing
Ability to just have time or just have weather changing
More randomness


Re: [FS] jRand - Random Time / Weather - DauerDicht - 13.08.2008

thx for it i will test it

Can u make me that it change all 30 minutes?

#define CHANGE_WEATHER_TIME 600000


Re: [FS] jRand - Random Time / Weather - Redirect Left - 13.08.2008

30 minutes is 1800000 ms, so in the .pwn change
Code:
#define CHANGE_WEATHER_TIME 600000
to
Code:
#define CHANGE_WEATHER_TIME 1800000
If you can't compile it, cause you don't have PAWNO, or whatever, here is a direct link to a 30 minute version: http://joltnet.info/dloads/jRand2.zip



Re: [FS] jRand - Random Time / Weather - DauerDicht - 13.08.2008

I have Pawno thx.

How can i turn Random Time off?


Re: [FS] jRand - Random Time / Weather - Redirect Left - 13.08.2008

I'll be making another version to do that quite soon, it should be done before tonight. (British time)


Re: [FS] jRand - Random Time / Weather - [Jay] - 13.08.2008

Great, its good for DM server's.


Re: [FS] jRand - Random Time / Weather - BP13 - 10.08.2009

Ill test this out


Re: [FS] jRand - Random Time / Weather - .::: Ecko :::. - 10.08.2009

Cool one

Ecko


Re: [FS] jRand - Random Time / Weather - kingworldsoft - 10.08.2009

Great, its good for DM server's =D