fix anticheat
This commit is contained in:
@@ -692,7 +692,7 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
{
|
{
|
||||||
Vector3 playerPosition = new Vector3(player.Position.X, player.Position.Y - value, player.Position.Z);
|
Vector3 playerPosition = new Vector3(player.Position.X, player.Position.Y - value, player.Position.Z);
|
||||||
if (player.IsInVehicle && player.VehicleSeat == 0) player.Vehicle.Position = playerPosition;
|
if (player.IsInVehicle && player.VehicleSeat == 0) player.Vehicle.Position = playerPosition;
|
||||||
elseplayer.SafeTeleport(playerPosition);
|
else player.SafeTeleport(playerPosition);
|
||||||
}
|
}
|
||||||
else if (playerHeading >= 135 && playerHeading < 225)
|
else if (playerHeading >= 135 && playerHeading < 225)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user