SA-MP Forums Archive
How to fix desync - 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: How to fix desync (/showthread.php?tid=477756)



How to fix desync - SlonCHL - 26.11.2013

When my players gets spawned at the same pos, they can't see the other player's animation(Walking, shooting etc). How to fix that.

Also I have a infect script that changes the player skin then sets the player pos, if he gets infected while other user's have him streamed in, he can't see the other player's anim.

Means the player that is set to a position of other user's stream range will not be able to see that other players anim

Is that a desync? How do I fix it? Without respawning if possible


Re: How to fix desync - Voxel - 26.11.2013

Is OnPlayerUpdate returning 1; ?


Re: How to fix desync - SlonCHL - 26.11.2013

Yes, I can see the player moving just not the animation and only after setting player pos in other player's stream range


Re: How to fix desync - SlonCHL - 26.11.2013

Bump