Added ability to disable automatic respawn

Prepare for client side scripting.
This commit is contained in:
Sardelka
2022-05-31 02:16:12 -08:00
parent a33f839004
commit b863b7037a
8 changed files with 67 additions and 21 deletions

View File

@ -252,10 +252,8 @@ namespace RageCoop.Client
MainPed.CanBeDraggedOutOfVehicle = true;
MainPed.IsOnlyDamagedByPlayer = false;
MainPed.RelationshipGroup=Main.SyncedPedsGroup;
if (IsPlayer)
{
MainPed.IsInvincible=true;
}
MainPed.IsFireProof=false;
MainPed.IsExplosionProof=false;
SetClothes();
if (IsPlayer)