[*] Fix Autojail on death.
+ Added HQ message for wanteds
This commit is contained in:
@@ -13,8 +13,9 @@ namespace ReallifeGamemode.Server.Wanted
|
||||
public static void Check_AutoWanted(Client killerPlayer, Client copPlayer)
|
||||
{
|
||||
User killer = killerPlayer.GetUser();
|
||||
if(killer.FactionId != 1 || killer.FactionId != 3)
|
||||
{
|
||||
if (killer.FactionId == 1 || killer.FactionId == 3)
|
||||
return;
|
||||
|
||||
User cop = copPlayer.GetUser();
|
||||
if(cop.FactionId == 1 || cop.FactionId == 3)
|
||||
{
|
||||
@@ -25,7 +26,7 @@ namespace ReallifeGamemode.Server.Wanted
|
||||
dbContext.SaveChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user