29.01.2017, 17:14
Hi, I've been working on a gamemode for a while and I noticed that my server lags even on localhost and the gamemode is at 12k lines. There are a little delays between commands and everything and the ping keeps jumping from 20 to 100, but on other servers the ping stays at 60-80. I tried commenting out the repeating 1 second timer that loops through players and I tried commenting out OnPlayerUpdate, but it's still lagging so don't ask me for any code. What I need to know is what could cause lag? I only have 4 plugins: sscanf, streamer, mysql and crashdetect. I'm pretty sure my gamemode is not even poorly optimized.

