09.12.2011, 09:41
Hm I couldnt find anything suspicious in the function. A thing you should really optimize is the giant amount of queries in OnPlayerUpdateEx. You can simply reduce it from 30+ queries to just one like this: "UPDATE players SET PlayerLevel=%d, AdminLevel=%d, ... WHERE name='%s';"
I dont think this can make your server hang, but depending on how often it is called it can cause a lot of lag.
I dont think this can make your server hang, but depending on how often it is called it can cause a lot of lag.