HELP | loop speed.
#1

hello..
from now i'm saying, if i have spelling mistakes, sorry !

lets take for example this loop:

pawn Код:
for(new i; i < MAX_PLAYERS; i++)
{
}
what is the speed, between, 0 to 1? and 1 to 2? and like this..
how can i know it?

thank you !
Reply
#2

How quickly it goes between number 0 and number 1?

Reply
#3

Quote:
Originally Posted by _Xerxes_
How quickly it goes between number 0 and number 1?

yes..
thank you
Reply
#4

I'm not completely sure. But you can always make a quick test script seeing yourself.

Try using a loop in OnGameModeInit with the function GetTickCount. Might work, not completely sure.

Also, may I ask why you need to know this?
Reply
#5

for search a short way, and know how much it's change
Reply
#6

1 loop will initiate in under a second. That is how fast it will go. I don't know if you want it above a second, but then you need to use a timer

Greets,
mamoru
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)