21.11.2010, 03:19
Holy shit, You're saving files in OnPlayerUpdate? I just give you a medal. /me hands Raymond a medal. /do Medal says : "You have created the most efficient script ever in the world."
Save it in onPlayerDisconnect.
Saving files in OnPlayerUpdate is not efficient at all. You're saving it around 38 times a second. I'm amazed it didn't already send you those errors when you had only 5 players online.
Save it in onPlayerDisconnect.
Quote:
This callback is called very frequently per second per player, only use it when you know what it's meant for. |