Quote:
|
Originally Posted by Stevelo
Quote:
|
Originally Posted by Yaheli
Why make another timer that would have to loop through 200 players even when only 1 is connected?
|
It would be much more efficient in terms of what this modification was created for. People seem to think that a 200 player loop causes a load of lag. This is a multi player modification, so scripting something that is only designed for one player isn't very relevant.
Calling a timer every second or so with a 200 byte loop would take about 0.0001 seconds to allocate in pawn depending on what it does per loop. It would be much better than calling it from a function that, if say was being used on a server full of 200 people, would be getting called more than 3000 times a second.
|
You haven't actually looked at the scripthave you? It won't be near 3000 a second unless you set UPDATE_AMMOUNT to 1.