rentcar timer wieder auf normalwert

This commit is contained in:
Fabian
2021-05-03 00:15:55 +02:00
parent 86970361f2
commit 15e919dbd0
2 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ export default function rentCar(globalData: IGlobalData) {
}
rentcarMenu = new Menu("Fahrzeugverleih", "", new Point(0, screenRes.y / 3), null, null);
rentcarMenu.AddItem(new UIMenuListItem("Fahrzeug", "$" + vehiclePrices[0] + " alle 5 Minuten", new ItemsCollection(vehicleNames)));
rentcarMenu.AddItem(new UIMenuListItem("Fahrzeug", "$" + vehiclePrices[0] + " alle 3 Minuten", new ItemsCollection(vehicleNames)));
rentcarMenu.AddItem(sendItem);
rentcarMenu.AddItem(cancelItem);
@@ -60,7 +60,7 @@ export default function rentCar(globalData: IGlobalData) {
rentcarMenu.ListChange.on((item: NativeUI.UIMenuListItem, index) => {
switch (item.Text) {
case "Fahrzeug":
item.Description = "$" + vehiclePrices[index] + " alle 5 Minuten";
item.Description = "$" + vehiclePrices[index] + " alle 3 Minuten";
selectedIndex = index;
//item.Description = item.SelectedValue;
break;

View File

@@ -13,7 +13,7 @@ namespace ReallifeGamemode.Server.Util
class Rentcar : Script
{
//In Sekunden
public static int PAY_TIMER = 30;
public static int PAY_TIMER = 180;
//In Stunden
private static int PAYTIME_FREE = 30;