23.02.2009, 00:00
[INC] Weather Simulator by vovo4ka
version 1.1
This inc changes the weather depending on the time and place for each player separately.
There are 4 type of terrain:
How to use:
In OnGameModeInit paste:
OnPlayerRequestClass:
OnPlayerSpawn:
After any change of time in the script:
Version 1.1:![](http://solidfiles.com/info_imgs/Mj2S.jpg)
See example.
Screenshots:
![](/imageshack/img210/237/samp072.th.png)
![](/imageshack/img210/4793/samp073.th.png)
![](/imageshack/img54/484/samp077.th.png)
![](/imageshack/img54/7247/samp078.th.png)
![](/imageshack/img54/2027/samp081.th.png)
Video:
http://www.youtube.com/watch?v=TyvbXNyssSU
http://rutube.ru/tracks/1555241.html...610b356d3949e0
version 1.1
This inc changes the weather depending on the time and place for each player separately.
There are 4 type of terrain:
- forest
- city
- desert
- city+desert (LV)
How to use:
In OnGameModeInit paste:
Code:
for (new i=0; i<MAX_CYC; i++) { CycloneInit(i); } SetTimer("CycloneProcess",30000,true); // moves cyclones SetWeatherTime(12,00); // default time (!) not an SetWorldTime (!) SetTimer("UpdateWeather",10000,true); // weather updates players
Code:
PlayerWeatherLock(playerid);
Code:
PlayerWeatherUnLock(playerid);
Code:
SetWeatherTime(YourTime_H, YourTime_M); UpdateWeather();
- fixed bug (with the superposition of clouds)
- new function to disable changing weather player (PlayerWeatherLock(playerid))
![](http://solidfiles.com/info_imgs/Mj2S.jpg)
See example.
Screenshots:
![](/imageshack/img210/237/samp072.th.png)
![](/imageshack/img210/4793/samp073.th.png)
![](/imageshack/img54/484/samp077.th.png)
![](/imageshack/img54/7247/samp078.th.png)
![](/imageshack/img54/2027/samp081.th.png)
Video:
http://www.youtube.com/watch?v=TyvbXNyssSU
http://rutube.ru/tracks/1555241.html...610b356d3949e0