New RP Script : Lags when more than 20 players connected
#3

What "heavy" functions are you calling and how often are you calling them?

Something else about the MAX_PLAYERS_CURRENT:

What if there are 4 players, ID 0 to ID 3.
MAX_PLAYERS_CURRENT should be 3.
The player with ID 2 disconnects.
A new player connects on ID 2, MAX_PLAYERS_CURRENT gets set to 2.
The player with ID 3 is excluded from the loops!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)