Bean666 Posted June 7, 2016 Share Posted June 7, 2016 why is the weather not changing every 5 seconds? local weathers = {7,8,9,16,11,19,15} local interval = 5000 setTimer( function() local randomWeather = weathers[math.random(#weathers)] setWeather(randomWeather) end ,interval*1000,0 ) Link to comment
Bean666 Posted June 7, 2016 Author Share Posted June 7, 2016 oops nvm i noticed i had *1000 , solved 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