Server Sync - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Server Sync (
/showthread.php?tid=610873)
Server Sync -
Shinja - 29.06.2016
Somehow my server sync sux, hits register late, some don't register even i hear the hit sound..ect
How to fix this?
Re: Server Sync -
Infinity - 29.06.2016
This most likely means that you have some (or a lot of) inefficient code. Do you have a lot of timers running? Do you have a lot of code under OnPlayerUpdate? Are you running it on a decent server?
I'd advice you to find and use a profiling plugin, which will help you discover inefficiencies.
Re: Server Sync -
Shinja - 29.06.2016
Yes i have many things OnPlayerUpdate to update textdraws everytime
Re: Server Sync -
Owen007 - 29.06.2016
Quote:
Originally Posted by Shinja
Yes i have many things OnPlayerUpdate to update textdraws everytime
|
listen man first thing u need to do is if u have so many timers then u should use a case or counter to prevent of using so much timers. weather check your gamemode code errors with fixes.inc some like that.
Re: Server Sync -
Shinja - 29.06.2016
Can you give me something like this?