SA-MP Forums Archive
De-synchronizing. - 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: De-synchronizing. (/showthread.php?tid=392713)



De-synchronizing. - iGetty - 15.11.2012

Okay, so I have a problem with this.

When I log in and a friend logs in, we both don't see each other moving at all.

If I teleport to him, it shows him in a different position than he is standing on screen.

What's the problem?


Re: De-synchronizing. - Jakku - 15.11.2012

As far as I remember this issue occured for me when I returned 0 or 1 (not sure) inside OnPlayerUpdate.


Re: De-synchronizing. - [HK]Ryder[AN] - 15.11.2012

are you sure you aren't lagging?
The other possible problem is the one Jakku said.

OnPlayerUpdate is not being called correctly and it aint showing for other player


Re: De-synchronizing. - iGetty - 15.11.2012

It was OnPlayerUpdate.

Thank you Jakku and Ryder.