added aunjail admin message
This commit is contained in:
@@ -78,7 +78,7 @@ namespace ReallifeGamemode.Server.Wanted
|
|||||||
|
|
||||||
int timeMinutes = 0;
|
int timeMinutes = 0;
|
||||||
|
|
||||||
if (((int)(user.JailTime / 60)) == 0)
|
if (((int)(user.JailTime / 60)) == 0 && user.JailTime != 0)
|
||||||
{
|
{
|
||||||
timeMinutes = 1;
|
timeMinutes = 1;
|
||||||
}
|
}
|
||||||
@@ -182,7 +182,7 @@ namespace ReallifeGamemode.Server.Wanted
|
|||||||
|
|
||||||
int timeMinutes = 0;
|
int timeMinutes = 0;
|
||||||
|
|
||||||
if (((int)(user.JailTime / 60)) == 0)
|
if (((int)(user.JailTime / 60)) == 0 && user.JailTime != 0)
|
||||||
{
|
{
|
||||||
timeMinutes = 1;
|
timeMinutes = 1;
|
||||||
} else
|
} else
|
||||||
@@ -253,6 +253,7 @@ namespace ReallifeGamemode.Server.Wanted
|
|||||||
target.TriggerEvent("jailTime", 0);
|
target.TriggerEvent("jailTime", 0);
|
||||||
ChatService.SendMessage(copPlayer, "!{#8181E9}HQ: Admin " + admin.Name + " hat " + user.Name + " aus dem Knast entlassen.");
|
ChatService.SendMessage(copPlayer, "!{#8181E9}HQ: Admin " + admin.Name + " hat " + user.Name + " aus dem Knast entlassen.");
|
||||||
ChatService.SendMessage(target, "Admin " + admin.Name + " hat dich aus dem Knast entlassen");
|
ChatService.SendMessage(target, "Admin " + admin.Name + " hat dich aus dem Knast entlassen");
|
||||||
|
ChatService.SendMessage(admin, "Du hast " + user.Name + " administrativ aus dem Knast entlassen");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user