Senze Posted March 18, 2010 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
DiSaMe Posted March 18, 2010 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.
karlis Posted March 18, 2010 Posted March 18, 2010 i think you dont need blend weather as changing weather stlyle acording time is hardcoded in sa
Antibird Posted March 18, 2010 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.
Senze Posted March 19, 2010 Author Posted March 19, 2010 damit so i ve try another one but thanks guys
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