add friseur
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Linq;
|
||||
using GTANetworkAPI;
|
||||
using ReallifeGamemode.Server.Shop.Clothing;
|
||||
using ReallifeGamemode.Server.Shop.SevenEleven;
|
||||
using ReallifeGamemode.Server.Shop.Friseur;
|
||||
|
||||
namespace ReallifeGamemode.Server.Managers
|
||||
{
|
||||
@@ -17,6 +18,8 @@ namespace ReallifeGamemode.Server.Managers
|
||||
public static List<ElevatorPoint> ElevatorPoints = new List<ElevatorPoint>();
|
||||
|
||||
public static List<ClotheshopPoint> clotheshopPoints = new List<ClotheshopPoint>();
|
||||
|
||||
public static List<FriseurPoint> friseurPoints = new List<FriseurPoint>();
|
||||
|
||||
public static List<ItemshopPoint> itemshopPoints = new List<ItemshopPoint>();
|
||||
|
||||
@@ -233,6 +236,24 @@ namespace ReallifeGamemode.Server.Managers
|
||||
NAPI.TextLabel.CreateTextLabel("Kleiderladen - Dr\u00fccke ~y~E", s.Position, 7, 1, 0, new Color(255, 255, 255), false, 0);
|
||||
}
|
||||
|
||||
foreach (var shop in ShopManager.FriseurStores)
|
||||
{
|
||||
shop.LoadClothes();
|
||||
FriseurPoint shopPoint = new FriseurPoint()
|
||||
{
|
||||
Position = shop.vector,
|
||||
friseurShop = shop
|
||||
};
|
||||
friseurPoints.Add(shopPoint);
|
||||
}
|
||||
|
||||
foreach (FriseurPoint s in friseurPoints)
|
||||
{
|
||||
NAPI.Marker.CreateMarker(1, new Vector3(s.Position.X, s.Position.Y, s.Position.Z - 2), new Vector3(s.Position.X, s.Position.Y, s.Position.Z + 1),
|
||||
new Vector3(0, 0, 0), 2, new Color(255, 255, 255, 50), false, 0);
|
||||
NAPI.TextLabel.CreateTextLabel("Friseur - Dr\u00fccke ~y~E", s.Position, 7, 1, 0, new Color(255, 255, 255), false, 0);
|
||||
}
|
||||
|
||||
foreach (var shop in ShopManager.itemShops)
|
||||
{
|
||||
shop.LoadItems();
|
||||
@@ -358,6 +379,12 @@ public class ItemshopPoint
|
||||
public ItemShop itemShop { get; set; }
|
||||
}
|
||||
|
||||
public class FriseurPoint
|
||||
{
|
||||
public Vector3 Position { get; set; }
|
||||
public Friseur friseurShop { get; set; }
|
||||
}
|
||||
|
||||
public class JobPoint
|
||||
{
|
||||
public Vector3 Position { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user