Senze Posted March 18, 2010 Share Posted March 18, 2010 hey guys Today i start to create a nice weather script with the function setWeatherblended a long time ago the function works great but now?! nothing is happen is it possible that this crash the function? function RealTime() local realtime = getRealTime() local hour = realtime.hour local minute = realtime.minute setTime(hour, minute) setMinuteDuration(60000) end if you have some idea it would nice you talk to me because its will a little bit ugly if this nice func wont able with the function I post Link to comment
DiSaMe Posted March 18, 2010 Share Posted March 18, 2010 I don't know exactly how it is, but I think setWeatherBlended works 60 times slower because weather changes depend on time. Link to comment
Senze Posted March 18, 2010 Author Share Posted March 18, 2010 hm maybe so i wil see soon ^^ Link to comment
karlis Posted March 18, 2010 Share Posted March 18, 2010 i think you dont need blend weather as changing weather stlyle acording time is hardcoded in sa Link to comment
Antibird Posted March 18, 2010 Share Posted March 18, 2010 Doomed_Space_Marine, yes, I've noticed the same. Variating the minute duration affects blending time. I've also seen It been discussed somewhere already. Hope one day MTA team tweak setWeatherBlended() functon into more flexible and powerful thing to play with the weather changes. Link to comment
Senze Posted March 19, 2010 Author Share Posted March 19, 2010 damit so i ve try another one but thanks guys Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now