minor changes

This commit is contained in:
aviate
2019-10-03 21:12:42 +02:00
parent 45f8069729
commit 6ef6f34f11

View File

@@ -221,7 +221,7 @@ namespace ReallifeGamemode.Server.Commands
NAPI.Entity.SetEntityVelocity(player.Vehicle, new Vector3()); NAPI.Entity.SetEntityVelocity(player.Vehicle, new Vector3());
} }
else player.Position = target.Position; else player.Position = target.Position;
ChatService.SendMessage(player, "~c~* Du hast dich zu " + player.Name + " teleportiert."); ChatService.SendMessage(player, "~c~* Du hast dich teleportiert.");
} }
[Command("position", "~m~Benutzung: ~s~/position")] [Command("position", "~m~Benutzung: ~s~/position")]
@@ -259,7 +259,7 @@ namespace ReallifeGamemode.Server.Commands
NAPI.Entity.SetEntityVelocity(target.Vehicle, new Vector3()); NAPI.Entity.SetEntityVelocity(target.Vehicle, new Vector3());
} }
else target.Position = player.Position; else target.Position = player.Position;
ChatService.SendMessage(target, "~c~* Du wurdest von " + player.Name + " teleportiert."); ChatService.SendMessage(target, "~c~* Du wurdest teleportiert.");
} }
[Command("aw", "~m~Benutzung: ~s~/aw [Spieler] [Nachricht]", GreedyArg = true)] [Command("aw", "~m~Benutzung: ~s~/aw [Spieler] [Nachricht]", GreedyArg = true)]