teleport to waypoint command fick die z coordinate

This commit is contained in:
Fabian
2021-05-08 02:10:26 +02:00
parent 2c42aa6123
commit a0c55cd846
2 changed files with 54 additions and 1 deletions

View File

@@ -550,6 +550,17 @@ namespace ReallifeGamemode.Server.Commands
#endregion Support
#region Admin
[Command("towwaypoint", "~m~Benutzung: ~s~/towwaypoint", Alias = "tow")]
public void CmdAdminToWaypoint(Player player)
{
if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN) ?? true)
{
ChatService.NotAuthorized(player);
return;
}
player.TriggerEvent("tpToWaypoint");
}
[Command("remspawnschutz", "~m~Benutzung: ~s~/rmss [Target]", Alias = "rmss")]
public void CmdAdminRmss(Player player, String targetname)