18.03.2013, 17:17
You're running a loop which has to go through 500 times, more than 1000 times per second, and you're asking why the server is hanging? Hm..
The problem is the code you've posted above. Here's a tip for the future: don't use OnPlayerUpdate UNLESS you know EXACTLY what you're doing.
The problem is the code you've posted above. Here's a tip for the future: don't use OnPlayerUpdate UNLESS you know EXACTLY what you're doing.