the mode is full of lags.
#4

The most obvious problem is that your code saves every single player in OnPlayerUpdate. You should know that OnPlayerUpdate is called very frequently per second - and the amount of file operations you're forcing it to process is just stupid.

Paste the code from OnPlayerUpdate to OnPlayerDisconnect (or you can create a timer and rename the function) and delete your OnPlayerUpdate function.
Reply


Messages In This Thread
the mode is full of lags. - by matanm - 12.07.2011, 20:57
Re: the mode is full of lags. - by Snipa - 12.07.2011, 21:43
Re: the mode is full of lags. - by matanm - 12.07.2011, 21:51
Re: the mode is full of lags. - by Calgon - 12.07.2011, 23:31
Re: the mode is full of lags. - by Ricop522 - 13.07.2011, 00:01
Re: the mode is full of lags. - by Calgon - 13.07.2011, 00:07
Re: the mode is full of lags. - by Backwardsman97 - 13.07.2011, 00:16

Forum Jump:


Users browsing this thread: 2 Guest(s)