Change Wages on Pilot, Bus and RefuseCollector

This commit is contained in:
2021-04-22 21:13:15 +02:00
parent 9e6df00f24
commit 253d982883
3 changed files with 16 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ namespace ReallifeGamemode.Server.Job
public const string PROFESSIONAL = "Profi";
public const int WAGE_BEGINNER = 300;
public const int WAGE_INTERMEDIATE = 750;
public const int WAGE_INTERMEDIATE = 900;
public const uint VEHICLE_BEGINNER = (uint)VehicleHash.Cuban800;
public const uint VEHICLE_INTERMEDIATE = (uint)VehicleHash.Velum2;
@@ -345,7 +345,7 @@ namespace ReallifeGamemode.Server.Job
payWage(player, PilotJob.WAGE_INTERMEDIATE / PilotJob.playerRouteCurrent[player.Name].Count);
}
private void payWage(Player player, int wage)
public void payWage(Player player, int wage)
{
using var dbContext = new DatabaseContext();
User user = player.GetUser(dbContext);