SA-MP Forums Archive
Doing cikle - 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: Doing cikle (/showthread.php?tid=624603)



Doing cikle - MerryDeer - 19.12.2016

Hi,

I'am doing cikle taking for <150000, every 150-200 ms. It's bad?


Re: Doing cikle - SyS - 19.12.2016

what you mean by cikle? you mean cycle?


Re: Doing cikle - MerryDeer - 19.12.2016

Yes loop, cycle


Re: Doing cikle - CutX - 19.12.2016

depends on what you do in said loop.
Don't see a problem with doing something like that as long as it's not sometihng really extensive.

yes, really depends on what you do inside that loop


Re: Doing cikle - Threshold - 19.12.2016

Why would you possibly need to cycle through 150,000 indexes 5 times a second? Then again, you are a special case...


Re: Doing cikle - MerryDeer - 19.12.2016

There is labels update, some variables checks, variable[ xx ] ++, simple actions


Re: Doing cikle - Threshold - 19.12.2016

Then yes. You are doing it wrong...


Re: Doing cikle - AbyssMorgan - 19.12.2016




Re: Doing cikle - PrO.GameR - 19.12.2016

Yes, that is terrible coding exercise.