Will this waste to much computer power? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Will this waste to much computer power? (
/showthread.php?tid=363234)
Will this waste to much computer power? -
Ranama - 27.07.2012
Hello, I'm in the making of my new loading bar function, so i wonder:
will it consume to much power to have a timer looping every 100 ms for like 15 seconds for every player on the server, when the do specific functions, enables commands etc?
should i take this in mind and maybe make it to a more laggy loading bar but the timer won't load that many times a minute?
what do you think, will it be to laggy having a timer set looping every 100ms some times in your script, in some commands etc and should i make it to a timer that gets called every 3000ms and take much bigger jumps in the loading bar? // lol sorry if i repeated myself here xD
Sorry if you don't understand me, I don't really know what I'm talking about, just wanted to ask this question before i got to bed :S
Thank you all for the answers
Re: Will this waste to much computer power? -
Akira297 - 27.07.2012
I honestly don't think that will waste that much of computer, more or less any.
Re: Will this waste to much computer power? -
Ranama - 27.07.2012
Quote:
Originally Posted by Akira297
I honestly don't think that will waste that much of computer, more or less any.
|
Okay, I'm glad to hear that thanks for the fast answer