Merge branch 'develop' of ssh://development.life-of-german.org:451/log-gtav/reallife-gamemode into develop
This commit is contained in:
@@ -188,7 +188,7 @@ namespace ReallifeGamemode.Server.Core.Managers
|
|||||||
|
|
||||||
public House GetNearHouse(Position position, DatabaseContext dbContext)
|
public House GetNearHouse(Position position, DatabaseContext dbContext)
|
||||||
{
|
{
|
||||||
return dbContext.Houses.Where(h => h.Position.DistanceTo(position) <= 5f)
|
return dbContext.Houses
|
||||||
.Include(h => h.Owner)
|
.Include(h => h.Owner)
|
||||||
.Include(h => h.BankAccount)
|
.Include(h => h.BankAccount)
|
||||||
.Include(h => h.Rentals)
|
.Include(h => h.Rentals)
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ namespace ReallifeGamemode.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)
|
||||||
{
|
{
|
||||||
NAPI.Blip.CreateBlip(446, pos, 1f, 4, "Los Santos Customs", shortRange: true);
|
NAPI.Blip.CreateBlip(446, pos, 0.7f, 4, "Los Santos Customs", shortRange: true);
|
||||||
|
|
||||||
ColShape colShape = NAPI.ColShape.CreateSphereColShape(pos, 5, 0);
|
ColShape colShape = NAPI.ColShape.CreateSphereColShape(pos, 5, 0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user