Fullton Posted August 28, 2016 Share Posted August 28, 2016 Hello, community! I have a question: how can I write script which unload objects in 21:00 and load new ones and vice versa in 5:00. I don't want to use render or prerender events. Link to comment
RenanPG Posted August 28, 2016 Share Posted August 28, 2016 setTimer(function(), local time = getRealTime() if(time.hour == "21" and time.minute == "0") then elseif(time.hour == "5" and time.minute == "0") then end end, 60000, 0) Link to comment
Fullton Posted August 28, 2016 Author Share Posted August 28, 2016 setTimer(function(), local time = getRealTime() if(time.hour == "21" and time.minute == "0") then elseif(time.hour == "5" and time.minute == "0") then end end, 60000, 0) unexptected symbol near ',' in 1st line Link to comment
aka Blue Posted August 28, 2016 Share Posted August 28, 2016 Remove the ',' of function(), 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