rentcar blips und sowas halt

This commit is contained in:
Fabian
2021-05-02 23:21:35 +02:00
parent 9935e40d66
commit 222a9832b1
3 changed files with 15 additions and 15 deletions

View File

@@ -329,17 +329,17 @@ namespace ReallifeGamemode.Server.Managers
rentcarPoints.Add(rentCarStadthalle);
rentcarPoints.Add(rentCarKnast);
foreach (RentcarPoint j in rentcarPoints)
foreach (RentcarPoint point in rentcarPoints)
{
NAPI.Marker.CreateMarker(1, new Vector3(j.Position.X, j.Position.Y, j.Position.Z - 2), new Vector3(j.Position.X, j.Position.Y, j.Position.Z + 1),
NAPI.Marker.CreateMarker(1, new Vector3(point.Position.X, point.Position.Y, point.Position.Z - 2), new Vector3(point.Position.X, point.Position.Y, point.Position.Z + 1),
new Vector3(0, 0, 0), 1.5f, new Color(255, 255, 255, 50), false, 0);
NAPI.TextLabel.CreateTextLabel("~y~Fahrzeugverleih\n~w~Drücke ~b~E~w~ um ein Fahrzeug zu mieten", j.Position, 7, 1, 0, new Color(255, 255, 255), false, 0);
NAPI.TextLabel.CreateTextLabel("~y~Fahrzeugverleih\n~w~Drücke ~b~E~w~ um ein Fahrzeug zu mieten", point.Position, 7, 1, 0, new Color(255, 255, 255), false, 0);
NAPI.Blip.CreateBlip(739, new Vector3(point.Position.X, point.Position.Y, point.Position.Z), (float)0.7, 11, "Fahrzeugvermietung", 255, 200, true, 0, 0);
}
#endregion RentCar
}
#endregion RentCar
[RemoteEvent("sendClientToStage")]
public void ElevatorSendToStage(Player player, string level)
{