fix
This commit is contained in:
@@ -132,6 +132,11 @@ namespace ReallifeGamemode.Server.Extensions
|
|||||||
}
|
}
|
||||||
|
|
||||||
User copUser = copPlayer.GetUser();
|
User copUser = copPlayer.GetUser();
|
||||||
|
if (copUser == null)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (cop != null && (copUser.FactionId == 1 || copUser.FactionId == 3))
|
if (cop != null && (copUser.FactionId == 1 || copUser.FactionId == 3))
|
||||||
{
|
{
|
||||||
ChatService.SendMessage(copPlayer, "!{#8181E9}HQ: Straftat gemeldet von " + cop.Name + " mit Fahndungslevel " + amount + ". Straftäter: " + user.Name + ".");
|
ChatService.SendMessage(copPlayer, "!{#8181E9}HQ: Straftat gemeldet von " + cop.Name + " mit Fahndungslevel " + amount + ". Straftäter: " + user.Name + ".");
|
||||||
|
|||||||
Reference in New Issue
Block a user