19.12.2016, 19:14
As stated, I got no clue about the foreach structure, however, on the "GetPlayerPoolSize" wiki - according to the description:
Taking the previous example into consideration, if IDs (0,1,2,3) join the server, and then ID(0,1) leave, the GetPlayerPoolSize (if I'm not mistaken) would return a value of 3.
Meaning you'd run your loop an extra 2 times for nothing and my aim is to get the best possible optimization.
Quote:
Description: Gets the highest playerid currently in use on the server. |
Meaning you'd run your loop an extra 2 times for nothing and my aim is to get the best possible optimization.