Vice City: Multiplayer

VC:MP Discussion => Support => Bugs and Crashes => Topic started by: Kenneth Law on January 2nd, 2022, 03:46 PM

Title: SetShowOnlyTeamMarkers() seriously bugs
Post by: Kenneth Law on January 2nd, 2022, 03:46 PM
SetShowOnlyTeamMarkers(true) can only be toggled when players are close enough. It doesn't work if they're far apart or in different worlds.
For example here we have two players who are in a same team initially and they can see each other from radar. If I set their respective team to different ones after they went far away from each other, markers will still remain visible on radar for both of them unless they two approach near again.
It goes same when I try to turn players of different teams into teammates. Markers fail to appear for each of themselves until they get into a short distance.
Is there any solutions to the problem? :'(
Title: Re: SetShowOnlyTeamMarkers() seriously bugs
Post by: DizzasTeR on January 3rd, 2022, 05:20 AM
Again, this is the same thing as Health of players on client-side. This value is only being synced when both players are within stream distance of each other otherwise their old values are used.

For reference and some more explanation & example check this post: https://forum.vc-mp.org/?topic=8680.msg51613