Nur ADuty Job Fahrzeuge gefixxt, Müllmann base fertig verlegt

This commit is contained in:
Mac_Slash
2020-05-24 21:09:19 +02:00
parent e2f6edd099
commit 2c572d7f5b
5 changed files with 66 additions and 19 deletions

View File

@@ -225,14 +225,17 @@ namespace ReallifeGamemode.Server.Job
if (target != null) { ChatService.SendMessage((Player)target, "Auto ist voll fahre nun zu Base."); target.TriggerEvent("SERVER:MuellmannZuBase"); }
player.TriggerEvent("SERVER:MuellmannZuBase");
}
if(target != null)
{
player.GetUser().Wage += 10;
target.GetUser().Wage += 10;
}
else
{
player.GetUser().Wage += 20;
if (target != null)
{
player.GetUser().Wage += 10;
target.GetUser().Wage += 10;
}
else
{
player.GetUser().Wage += 20;
}
}
return;
}