siga kann nicht programmieren
This commit is contained in:
@@ -101,11 +101,6 @@ namespace ReallifeGamemode.Server.Wanted
|
|||||||
client.TriggerEvent("jailTime", JsonConvert.SerializeObject(timeMinutes));
|
client.TriggerEvent("jailTime", JsonConvert.SerializeObject(timeMinutes));
|
||||||
ChatService.SendMessage(client, "!{#FF614A}* Du bist nun im Gefängnis für " + timeMinutes + " Minute/n.");
|
ChatService.SendMessage(client, "!{#FF614A}* Du bist nun im Gefängnis für " + timeMinutes + " Minute/n.");
|
||||||
|
|
||||||
if (announceHq)
|
|
||||||
{
|
|
||||||
ChatService.BroadcastFaction("!{#8181E9}HQ: " + user.Name + " wurde ins Gefängnis geliefert.", new List<int>() { 1, 3 });
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (user.FactionId)
|
switch (user.FactionId)
|
||||||
{
|
{
|
||||||
case null:
|
case null:
|
||||||
@@ -120,12 +115,19 @@ namespace ReallifeGamemode.Server.Wanted
|
|||||||
case 4:
|
case 4:
|
||||||
client.SetSharedData("blipColor", 5);
|
client.SetSharedData("blipColor", 5);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (announceHq)
|
||||||
|
{
|
||||||
|
ChatService.BroadcastFaction("!{#8181E9}HQ: " + user.Name + " wurde ins Gefängnis geliefert.", new List<int>() { 1, 3 });
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ChatService.BroadcastFaction("!{#8181E9}HQ: Der Verdächtigte " + user.Name + " wurde soeben ins Krankenhaus eingeliefert.", new System.Collections.Generic.List<int>() { 1, 3 });
|
ChatService.BroadcastFaction("!{#8181E9}HQ: Der Verdächtigte " + user.Name + " wurde soeben ins Krankenhaus eingeliefert.", new System.Collections.Generic.List<int>() { 1, 3 });
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user