Add doormanager

This commit is contained in:
VegaZ
2018-11-01 14:16:55 +01:00
parent 13d976258a
commit f1495fbb82
4 changed files with 18 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ namespace reallife_gamemode.Server.Managers
public static List<Vehicle> ShopVehicleList = new List<Vehicle>();
public static List<Vehicle> UserVehicleList = new List<Vehicle>();
public static ColShape policeDoors;
[ServerEvent(Event.ResourceStart)]
public void OnResourceStart()
{
@@ -79,6 +79,10 @@ namespace reallife_gamemode.Server.Managers
current.SetData("ownerId", v.UserId);
UserVehicleList.Add(current);
}
policeDoors = NAPI.ColShape.CreateCylinderColShape(new Vector3(434.7479, -983.2151, 30.83926), 4, 3, 0);
List<ColShape> colshapes = new List<ColShape>();
colshapes.Add(policeDoors);
}
}
}