Init commit surgery branch

This commit is contained in:
VegaZ
2021-04-22 22:24:27 +02:00
parent 2ab112795a
commit 922acd6847
8 changed files with 3000 additions and 0 deletions

View File

@@ -550,6 +550,10 @@ namespace ReallifeGamemode.Server.Events
nearestAmmunationPoint.Ammunation.LoadShopNUI(player);
}
}
if (CharacterCreator.surgeryPoint.DistanceTo(player.Position) <= 1.5)
{
CharacterCreator.StartSurgery(player);
}
if (user.FactionLeader)
{
player.TriggerEvent("CLIENT:StartGangwar");