Added little slap for admin on /ghv and /tov so they dont get stuck in vehicle

This commit is contained in:
hydrant
2018-12-03 00:49:13 +01:00
parent ca433e537e
commit 2c64fbf5f6

View File

@@ -684,7 +684,7 @@ namespace reallife_gamemode.Server.Commands
return; return;
} }
player.Position = v.Position; player.Position = v.Position.Add(new Vector3(0, 0, 2));
} }
[Command("ghv", "~m~Benutzung: ~s~/ghv [Fahrzeug ID]")] [Command("ghv", "~m~Benutzung: ~s~/ghv [Fahrzeug ID]")]
@@ -704,6 +704,7 @@ namespace reallife_gamemode.Server.Commands
} }
v.Position = player.Position; v.Position = player.Position;
player.Position = player.Position.Add(new Vector3(0, 0, 2));
} }
#endregion #endregion