fix wt entlade checkpoint & add waypoints for base

This commit is contained in:
michael.reiswich
2021-01-20 00:55:13 +01:00
parent eb801fce1a
commit e0d229e7d2
4 changed files with 70 additions and 2 deletions

View File

@@ -34,6 +34,16 @@ namespace ReallifeGamemode.Server.Events
dealPoint.Add(vehicle.GetData<Vector3>("weaponDealPoint"));
CheckPointHandle.StartCheckPointRoute(client, dealPoint, 5000, 1, 7, 3, true, "loadWeaponTransport");
}
else if ((u.FactionId != null)
&& ((VehicleHash)vehicle.Model == VehicleHash.Burrito3 || (VehicleHash)vehicle.Model == VehicleHash.Policet)
&& vehicle.HasData("WeaponDealLoad")
&& vehicle.GetData<bool>("WeaponDealLoad") == true)
{
BasePoints basePoints = new BasePoints();
basePoints.getbase(u.FactionId, client);
}
}
}
}