/POSITION FÜR ALLE
This commit is contained in:
@@ -165,12 +165,6 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
[Command("position", "~m~Benutzung: ~s~/position")]
|
[Command("position", "~m~Benutzung: ~s~/position")]
|
||||||
public void CmdAdminPosition(Player player)
|
public void CmdAdminPosition(Player player)
|
||||||
{
|
{
|
||||||
if (!player.GetUser()?.IsAdmin(AdminLevel.SUPPORTER) ?? true)
|
|
||||||
{
|
|
||||||
ChatService.NotAuthorized(player);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
ChatService.SendMessage(player, "Position: X Y Z: " + player.Position + " Richtung: " + player.Heading);
|
ChatService.SendMessage(player, "Position: X Y Z: " + player.Position + " Richtung: " + player.Heading);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user