Change some things on job wages users don't need to know
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user