anti cheat
This commit is contained in:
@@ -190,7 +190,7 @@ namespace ReallifeGamemode.Server.DrivingSchool
|
||||
veh.Position = sVeh.Position;
|
||||
veh.Rotation = new Vector3(0, 0, sVeh.Heading);
|
||||
|
||||
user.Position = new Vector3(-814.39, -1336.76, 5.15);
|
||||
user.SafeTeleport(new Vector3(-814.39, -1336.76, 5.15));
|
||||
}
|
||||
|
||||
[RemoteEvent("drivingSchoolEvent")]
|
||||
@@ -304,7 +304,7 @@ namespace ReallifeGamemode.Server.DrivingSchool
|
||||
veh.Position = sVeh.Position;
|
||||
veh.Rotation = new Vector3(0, 0, sVeh.Heading);
|
||||
|
||||
user.Position = new Vector3(-814.39, -1336.76, 5.15);
|
||||
user.SafeTeleport(new Vector3(-814.39, -1336.76, 5.15));
|
||||
}
|
||||
|
||||
[RemoteEvent("bikeSchoolEvent")]
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace ReallifeGamemode.Server.DrivingSchool
|
||||
dbContext.SaveChanges();
|
||||
}
|
||||
user.ResetData("ActiveSchool");
|
||||
user.Position = new Vector3(-1083.96, -2476.96, 13.07);
|
||||
user.SafeTeleport(new Vector3(-1083.96, -2476.96, 13.07));
|
||||
}
|
||||
|
||||
[RemoteEvent("planeSchoolEvent")]
|
||||
|
||||
Reference in New Issue
Block a user