Added los santos customs

This commit is contained in:
hydrant
2018-12-03 14:09:56 +01:00
parent e5ae1351c4
commit bcf6c2b8ff
2 changed files with 3 additions and 1 deletions

View File

@@ -36,6 +36,8 @@ namespace reallife_gamemode
NAPI.Data.SetWorldData("playerCreatorDimension", 0); NAPI.Data.SetWorldData("playerCreatorDimension", 0);
TuningManager.AddTuningGarage(new Vector3(-341, -134, 38.5)); TuningManager.AddTuningGarage(new Vector3(-341, -134, 38.5));
TuningManager.AddTuningGarage(new Vector3(732, -1088, 21));
TuningManager.AddTuningGarage(new Vector3(-1155, -2006, 12));
TimeManager.StartTimeManager(); TimeManager.StartTimeManager();
DatabaseHelper.InitDatabaseFirstTime(); DatabaseHelper.InitDatabaseFirstTime();

View File

@@ -17,7 +17,7 @@ namespace reallife_gamemode.Server.Managers
/// <param name="pos">Die Position der Garage</param> /// <param name="pos">Die Position der Garage</param>
public static void AddTuningGarage(Vector3 pos) public static void AddTuningGarage(Vector3 pos)
{ {
ColShape colShape = NAPI.ColShape.CreateSphereColShape(pos, 10, 0); ColShape colShape = NAPI.ColShape.CreateSphereColShape(pos, 5, 0);
colShape.OnEntityEnterColShape += (cs, c) => colShape.OnEntityEnterColShape += (cs, c) =>
{ {