haus system auf core geändert
This commit is contained in:
@@ -4,6 +4,8 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using GTANetworkAPI;
|
||||
using ReallifeGamemode.Database.Models;
|
||||
using ReallifeGamemode.Server.Core.API;
|
||||
using ReallifeGamemode.Server.Core.RageMP;
|
||||
using ReallifeGamemode.Server.Types;
|
||||
|
||||
/**
|
||||
@@ -104,6 +106,9 @@ namespace ReallifeGamemode.Database.Entities
|
||||
get => NAPI.Pools.GetAllPlayers().Where(c => c.Name.ToLower() == this.Name.ToLower()).FirstOrDefault();
|
||||
}
|
||||
|
||||
[NotMapped]
|
||||
public IPlayer NewPlayer => new RagePlayer(Player);
|
||||
|
||||
public override string BankAccountName => Name;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user