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