SA-MP Forums Archive
Strange Issue - 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: Strange Issue (/showthread.php?tid=562278)



Player Out Of Sync with others when enter vehicle - jeffery30162 - 07.02.2015

To Test my server I run it on my pc then I go in game with several local computers that are on the same network. But sometime when I meet in game one of the players are not showing up on one screen and on the other screen it shows both players. Its weird.


Pleae help, this recently started happening



I JUST NOTICED THAT THIS ONLY HAPPENS WHEN ONE OF THE PLAYERS IS IN A VEHICLE, but when he exits the vehicle everything resumes normally at the updated vehicle's and player's position, like wtf.


Re: Strange Issue - Vince - 08.02.2015

Make sure you don't return 0 in OnPlayerUpdate as this will desync the player to all others.


Re: Strange Issue - jeffery30162 - 08.02.2015

Thats not it, the error only happens when someone enters a vehicle then only that player in the vehicle goes out of sync with everyone else. But I did look in my onplayerupdate for any return 0;


Re: Strange Issue - jeffery30162 - 08.02.2015

someone pleae


Re: Strange Issue - jeffery30162 - 08.02.2015

This issue still occurs when I enter a servers static vehicle


Re: Strange Issue - Sascha - 08.02.2015

do you have any specific code at
"OnPlayerEnterVehicle"
or at "OnPlayerStateChange"?


Re: Strange Issue - jeffery30162 - 08.02.2015

no, i do not