From 2c64fbf5f6211d64a6d94f0a0c546390c46d5d02 Mon Sep 17 00:00:00 2001 From: hydrant Date: Mon, 3 Dec 2018 00:49:13 +0100 Subject: [PATCH] Added little slap for admin on /ghv and /tov so they dont get stuck in vehicle --- Server/Commands/Admin.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Server/Commands/Admin.cs b/Server/Commands/Admin.cs index f88dd7b4..bff7cfb5 100644 --- a/Server/Commands/Admin.cs +++ b/Server/Commands/Admin.cs @@ -684,7 +684,7 @@ namespace reallife_gamemode.Server.Commands return; } - player.Position = v.Position; + player.Position = v.Position.Add(new Vector3(0, 0, 2)); } [Command("ghv", "~m~Benutzung: ~s~/ghv [Fahrzeug ID]")] @@ -704,6 +704,7 @@ namespace reallife_gamemode.Server.Commands } v.Position = player.Position; + player.Position = player.Position.Add(new Vector3(0, 0, 2)); } #endregion