Added los santos customs
This commit is contained in:
2
Main.cs
2
Main.cs
@@ -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();
|
||||||
|
|||||||
@@ -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) =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user