player.IsTSupport hinzugefügt
This commit is contained in:
@@ -186,6 +186,11 @@ namespace ReallifeGamemode.Server.Extensions
|
|||||||
return player.HasData("Adminduty") ? player.GetData<bool>("Adminduty") : false;
|
return player.HasData("Adminduty") ? player.GetData<bool>("Adminduty") : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static bool IsTSupport(this Player player)
|
||||||
|
{
|
||||||
|
return player.HasData("SAdminduty") ? player.GetData<bool>("SAdminduty") : false;
|
||||||
|
}
|
||||||
|
|
||||||
public static Vector3 GetPositionFromPlayer(Player player, float distance, int offset = 0)
|
public static Vector3 GetPositionFromPlayer(Player player, float distance, int offset = 0)
|
||||||
{
|
{
|
||||||
var pos = player.Position;
|
var pos = player.Position;
|
||||||
|
|||||||
Reference in New Issue
Block a user