Peds für Müllmann,Pilot1,Pilot2,Busfahrer + Verdienstsystemänderung + Routen eingefügt + Range von Pilot verkleinert

This commit is contained in:
Mac_Slash
2020-05-05 23:48:31 +02:00
parent 64bff47c6e
commit ce0eac5967
7 changed files with 117 additions and 32 deletions

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using GTANetworkAPI;
using ReallifeGamemode.Server.Shop.Clothing;
@@ -155,7 +155,7 @@ namespace ReallifeGamemode.Server.Managers
JobPoint jobPointRefuseCollector = new JobPoint()
{
Position = new Vector3(-429.237, -1727.9839, 19.73836),
Position = new Vector3(485.4114685058594, -2173.25, 5.918273448944092),
jobId = 2,
Skill = 0
};
@@ -167,7 +167,7 @@ namespace ReallifeGamemode.Server.Managers
};
JobPoint jobPointPilot2 = new JobPoint()
{
Position = new Vector3(-1622.48, -3151.58, 13),
Position = new Vector3(-1622.44189453125, -3151.955810546875, 13.992053985595703),
jobId = 3,
Skill = 300
};
@@ -186,7 +186,7 @@ namespace ReallifeGamemode.Server.Managers
foreach (JobPoint p in JobPoints)
{
NAPI.Marker.CreateMarker(1, new Vector3(p.Position.X, p.Position.Y, p.Position.Z - 2), new Vector3(p.Position.X, p.Position.Y, p.Position.Z + 1),
new Vector3(0, 0, 0), 1.5f, new Color(255, 255, 255, 50), false, 0);
new Vector3(0, 0, 0), 1.5f, new Color(255, 255, 255, 150), false, 0);
if (p.jobId == 2)
{
NAPI.TextLabel.CreateTextLabel("M\u00fcllmann - Dr\u00fccke ~y~E~s~ um Job zu starten/beenden", p.Position, 15, 1, 0, new Color(255, 255, 255), false, 0);