Change some things on job wages users don't need to know

This commit is contained in:
2021-04-27 04:21:46 +02:00
parent 3393e0d38d
commit 72f8732bbc
2 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using GTANetworkAPI;
@@ -21,7 +21,7 @@ namespace ReallifeGamemode.Server.Job
public override bool NeedVehicleToStart => false;
private const int MAX_BAG = 40;
private const int WAGE = 80;
private const int WAGE = 50;
private const int BONUS = 10;
public RefuseCollectorJob()
@@ -273,8 +273,8 @@ namespace ReallifeGamemode.Server.Job
{
if (target != null)
{
user1.Wage += WAGE / 2;
user2.Wage += WAGE / 2;
user1.Wage += (int)(WAGE * 0.7);
user2.Wage += (int)(WAGE * 0.7);
}
else
{
@@ -308,8 +308,8 @@ namespace ReallifeGamemode.Server.Job
if (target != null)
{
user1.Wage += (int)(bonus / 2);
user2.Wage += (int)(bonus / 2);
user1.Wage += bonus;
user2.Wage += bonus;
}
else
{