Added little slap for admin on /ghv and /tov so they dont get stuck in vehicle
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user