From 4ddd019797a2b1cec39f3e1faaf3accc5c00a2ea Mon Sep 17 00:00:00 2001 From: Luke Date: Sat, 3 Jul 2021 23:05:20 +0200 Subject: [PATCH] dimension bei /veh wird jetzt beachtet --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index 85d9897e..83e38343 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -1537,7 +1537,7 @@ namespace ReallifeGamemode.Server.Commands Vehicle v = NAPI.Vehicle.CreateVehicle(uHash, player.Position, player.Heading, color1, color2, engine: true); VehicleStreaming.SetEngineState(v, true); VehicleStreaming.SetLockStatus(v, false); - player.SetIntoVehicle(v.Handle, 0); + v.Dimension = player.Dimension; player.SetIntoVehicle(v.Handle, 0); }