fixes in busroute 3
This commit is contained in:
@@ -33,7 +33,7 @@ export default function checkpointHandle(globalData: GlobalData) {
|
|||||||
function myTimer() {
|
function myTimer() {
|
||||||
let dist = mp.game.gameplay.getDistanceBetweenCoords(Player.position.x, Player.position.y, 0, posCp.x, posCp.y, 0, false);
|
let dist = mp.game.gameplay.getDistanceBetweenCoords(Player.position.x, Player.position.y, 0, posCp.x, posCp.y, 0, false);
|
||||||
//mp.gui.chat.push("delay: " + delay + " | delayCounter: " + delayCounter);
|
//mp.gui.chat.push("delay: " + delay + " | delayCounter: " + delayCounter);
|
||||||
if (dist <= 2) {
|
if (dist <= 3) {
|
||||||
|
|
||||||
if (!inCheckpoint) {
|
if (!inCheckpoint) {
|
||||||
if (delay != 0) {
|
if (delay != 0) {
|
||||||
|
|||||||
@@ -46,12 +46,15 @@ namespace ReallifeGamemode.Server.Job
|
|||||||
new Vector3(313.7626,-647.1252,28.6658),
|
new Vector3(313.7626,-647.1252,28.6658),
|
||||||
new Vector3(28.84793,-543.386,35.42649),
|
new Vector3(28.84793,-543.386,35.42649),
|
||||||
new Vector3(120.2759,-195.0664,53.98029),
|
new Vector3(120.2759,-195.0664,53.98029),
|
||||||
|
new Vector3(291.5339,-257.244,53.89333),
|
||||||
new Vector3(459.6921,116.3203,98.18157),
|
new Vector3(459.6921,116.3203,98.18157),
|
||||||
new Vector3(173.9451,220.1987,105.4178),
|
new Vector3(173.9451,220.1987,105.4178),
|
||||||
new Vector3(-327.3175,261.2248,85.86708),
|
new Vector3(-327.3175,261.2248,85.86708),
|
||||||
new Vector3(-764.2745,294.4415,85.00808),
|
new Vector3(-764.2745,294.4415,85.00808),
|
||||||
|
new Vector3(-980.486,275.0842,68.26749),
|
||||||
new Vector3(-1031.586,107.9002,52.30307),
|
new Vector3(-1031.586,107.9002,52.30307),
|
||||||
new Vector3(-489.973,-195.4356,36.59651),
|
new Vector3(-489.973,-195.4356,36.59651),
|
||||||
|
new Vector3(-312.2727,-367.7886,29.93641),
|
||||||
new Vector3(-224.4042,-528.0254,34.08064),
|
new Vector3(-224.4042,-528.0254,34.08064),
|
||||||
new Vector3(-245.7707,-714.5482,32.90899),
|
new Vector3(-245.7707,-714.5482,32.90899),
|
||||||
new Vector3(-248.9475,-883.7717,30.00919),
|
new Vector3(-248.9475,-883.7717,30.00919),
|
||||||
@@ -83,7 +86,6 @@ namespace ReallifeGamemode.Server.Job
|
|||||||
CheckPointHandle.StartCheckPointRoute(player, Route2, 3000, 1);
|
CheckPointHandle.StartCheckPointRoute(player, Route2, 3000, 1);
|
||||||
} else if (type == "Mittel 1")
|
} else if (type == "Mittel 1")
|
||||||
{
|
{
|
||||||
ChatService.Broadcast("mittel 1 start");
|
|
||||||
CheckPointHandle.StartCheckPointRoute(player, Route3, 3000, 1);
|
CheckPointHandle.StartCheckPointRoute(player, Route3, 3000, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user