duty notification angepasst
This commit is contained in:
@@ -312,7 +312,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
if (user.GetData<bool>("duty") == false)
|
||||
{
|
||||
user.SetData("duty", true);
|
||||
player.SendNotification("Du bist nun ~g~im Dienst.");
|
||||
player.SendNotification("Du bist nun ~g~im Dienst");
|
||||
player.TriggerEvent("toggleDutyMode", true);
|
||||
player.TriggerEvent("abortSpawnschutz");
|
||||
if (user.FactionId == 2) //Fire Department
|
||||
@@ -353,7 +353,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
else
|
||||
{
|
||||
user.SetData("duty", false);
|
||||
player.SendNotification("Du bist nun ~r~außer Dienst.");
|
||||
player.SendNotification("Du bist nun ~r~nicht mehr im Dienst");
|
||||
player.TriggerEvent("toggleDutyMode", false);
|
||||
Medic.UpdateDutyMedics();
|
||||
UpdateCharacterCloth.LoadCharacterDefaults(player);
|
||||
|
||||
Reference in New Issue
Block a user