push
This commit is contained in:
@@ -21,10 +21,10 @@ namespace ReallifeGamemode.Server.Wanted
|
||||
using var dbContext = new DatabaseContext();
|
||||
User user = player.GetUser(dbContext);
|
||||
|
||||
if (user.Wanteds <= 0)
|
||||
if (user.Wanteds <= 0)
|
||||
return;
|
||||
|
||||
player.SendChatMessage("~y~Du hast erfolgreich einen Wanted abgetaucht.");
|
||||
player.TriggerEvent("BN_ShowWithPicture", "Abgetaucht", "Lester", "Du hast erfolgreich ein Wanted ~y~abgetaucht", "CHAR_LESTER", 1, true);
|
||||
user.Wanteds -= 1;
|
||||
if (user.Wanteds == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user