renewed and improved busdriver job system, paaqo is not amused

This commit is contained in:
2019-09-12 18:20:18 +02:00
parent 146261bc03
commit 5ea2487b29
4 changed files with 74 additions and 14 deletions

View File

@@ -1,6 +1,8 @@
using System;
using System.Collections.Generic;
using System.Text;
using GTANetworkAPI;
using ReallifeGamemode.Server.Util;
namespace ReallifeGamemode.Server.Job
{

View File

@@ -8,6 +8,8 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ReallifeGamemode.Server.Util;
using System.Collections;
namespace ReallifeGamemode.Server.Job
{
@@ -35,6 +37,16 @@ namespace ReallifeGamemode.Server.Job
ChatService.SendMessage(player, $"~y~[JOB]~s~ Du hast deinen Job ~o~{this.Name}~s~ gestartet.");
JobStart?.Invoke(player);
List<Vector3> list = new List<Vector3>();
list.Add(new Vector3(-105.5951, -1684.548, 29.23948));
list.Add(new Vector3(-1056.246, -2552.576, 13.66063));
list.Add(new Vector3(200.3088, -1978.828, 19.3329));
list.Add(new Vector3(358.6138, -1785.821, 28.92113));
list.Add(new Vector3(281.8594, -1462.503, 29.13148));
list.Add(new Vector3(77.72239, -1212.086, 29.12294));
list.Add(new Vector3(218.1398, -850.9549, 30.16619));
CheckPointHandle.startCheckPointRoute(player, list);
}
public void StopJob(Client player, bool quit = false)