veigac4tm Posted July 27, 2016 Share Posted July 27, 2016 Hello friends, I've been seeing the mta wiki tried to do more and I could not, could simulate to me how I could make a particular Resource be automatically resetting the X time? Let's say the Resource called "bot" how I could make a script that restarted it every 15 minutes? Link to comment
Bilal135 Posted July 27, 2016 Share Posted July 27, 2016 (edited) Put this in your script. setTimer( function() --restarting this resource every 15 minutes restartResource(getThisResource()) end, 900000, 0) https://wiki.multitheftauto.com/wiki/RestartResource Next time read the wiki before asking here. Edited July 27, 2016 by Guest Link to comment
LabiVila Posted July 27, 2016 Share Posted July 27, 2016 By the way, '900000' is not an hour, '3600000' is Link to comment
</Mr.Tn6eL> Posted July 27, 2016 Share Posted July 27, 2016 By the way, '900000' is not an hour, '3600000' is really? Hello friends, I've been seeing the mta wiki tried to do more and I could not, could simulate to me how I could make a particular Resource be automatically resetting the X time? Let's say the Resource called "bot" how I could make a script that restarted it every 15 minutes? 15 minute = 900000 ms Link to comment
Hale Posted July 27, 2016 Share Posted July 27, 2016 He is prolly blind. "Prolly" my ass, that's what happens when he wants to act smart lol Link to comment
Bilal135 Posted July 27, 2016 Share Posted July 27, 2016 He is prolly blind. "Prolly" my ass, that's what happens when he wants to act smart lol Do I even know you? Link to comment
Hale Posted July 27, 2016 Share Posted July 27, 2016 He is prolly blind. "Prolly" my ass, that's what happens when he wants to act smart lol Do I even know you? Nope, just another fan of yours trying to asslick you, accept me. Link to comment
</Mr.Tn6eL> Posted July 27, 2016 Share Posted July 27, 2016 He is prolly blind. "Prolly" my ass, that's what happens when he wants to act smart lol Who asked your opinion? Link to comment
LabiVila Posted July 28, 2016 Share Posted July 28, 2016 Haha, cool to see how you edited your post, then replied to me 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