Improved vehicle sync

This commit is contained in:
sardelka9515
2022-11-20 15:55:11 +08:00
parent 78f0dfaebb
commit 7dec978e9a
5 changed files with 35 additions and 38 deletions

View File

@ -123,7 +123,7 @@ namespace RageCoop.Client
};
return;
}
BaseScript.OnStart();
SyncedPedsGroup = World.AddRelationshipGroup("SYNCPED");
Game.Player.Character.RelationshipGroup.SetRelationshipBetweenGroups(SyncedPedsGroup, Relationship.Neutral,
@ -217,7 +217,7 @@ namespace RageCoop.Client
{
return;
}
else if (!_gameLoaded && (_gameLoaded = true))
if (!_gameLoaded && (_gameLoaded = true))
{
#if !NON_INTERACTIVE
Notification.Show(NotificationIcon.AllPlayersConf, "RAGECOOP", "Welcome!",