Change Wages on Pilot, Bus and RefuseCollector
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user