19.07.2013, 04:47
That's after 9625052 calls. mysql_query and fclose are the problem. If you use them very often, the server will lag heavily. I recommend switching to threaded queries (R7) and limiting your file function usage. Also, you should highly optimize your OnPlayerKeyStateChange code because it's being called super often, a little less often than OnPlayerUpdate.