36 lines
1020 B
C#
36 lines
1020 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using GTANetworkAPI;
|
|
using ReallifeGamemode.Server.Util;
|
|
|
|
namespace ReallifeGamemode.Server.Job
|
|
{
|
|
class BusDriverJob : JobBase
|
|
{
|
|
public override int Id => 4;
|
|
|
|
public override string Name => "Busfahrer";
|
|
|
|
public override bool NeedVehicleToStart => true;
|
|
|
|
public BusDriverJob()
|
|
{
|
|
JobStart += BusDriverJob_JobStart;
|
|
}
|
|
|
|
private void BusDriverJob_JobStart(Client 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);
|
|
}
|
|
}
|
|
}
|