Fix player blip (again)
This commit is contained in:
parent
2ef3012672
commit
6c355b109d
@ -79,7 +79,7 @@ namespace RageCoop.Client
|
||||
public static void UpdatePlayer(Packets.PlayerInfoUpdate packet)
|
||||
{
|
||||
var p = GetPlayer(packet.PedID);
|
||||
if (p!=null)
|
||||
if (p!=null && p.PedID!=Main.LocalPlayerID)
|
||||
{
|
||||
p._latencyToServer = packet.Latency;
|
||||
p.Position = packet.Position;
|
||||
@ -90,7 +90,7 @@ namespace RageCoop.Client
|
||||
{
|
||||
p.FakeBlip=World.CreateBlip(p.Position);
|
||||
}
|
||||
if (p.Character?.MainPed != null && p.Character.MainPed.Exists())
|
||||
if (EntityPool.PedExists(p.PedID))
|
||||
{
|
||||
p.FakeBlip.DisplayType = BlipDisplayType.NoDisplay;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ using System.Resources;
|
||||
|
||||
|
||||
// Version informationr(
|
||||
[assembly: AssemblyVersion("1.5.1.22")]
|
||||
[assembly: AssemblyFileVersion("1.5.1.22")]
|
||||
[assembly: AssemblyVersion("1.5.1.27")]
|
||||
[assembly: AssemblyFileVersion("1.5.1.27")]
|
||||
[assembly: NeutralResourcesLanguageAttribute( "en-US" )]
|
||||
|
||||
|
@ -15,7 +15,7 @@ using System.Resources;
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Version informationr(
|
||||
[assembly: AssemblyVersion("1.5.1.21")]
|
||||
[assembly: AssemblyFileVersion("1.5.1.21")]
|
||||
[assembly: AssemblyVersion("1.5.1.26")]
|
||||
[assembly: AssemblyFileVersion("1.5.1.26")]
|
||||
[assembly: NeutralResourcesLanguageAttribute( "en-US" )]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user