formatted code
This commit is contained in:
@@ -232,7 +232,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
ChatService.Error(player, "Du kannst dich nicht selbst wiederbeleben!");
|
||||
return;
|
||||
}
|
||||
player.PlayAnimation("amb@medic@standing@kneel@enter", "enter", 0);
|
||||
player.PlayAnimation("amb@medic@standing@kneel@enter", "enter", 0);
|
||||
|
||||
deadPlayer.TriggerEvent("onPlayerRevived");
|
||||
deadPlayer.SendNotification("Du wurdest von ~r~" + player.Name + "~s~ wiederbelebt.");
|
||||
@@ -267,7 +267,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
[Command("duty", "~m~Benutzung: ~s~/duty")]
|
||||
public void CmdFactionDuty(Client player)
|
||||
{
|
||||
if(player.GetData("duty") == false)
|
||||
if (player.GetData("duty") == false)
|
||||
{
|
||||
player.SetData("duty", true);
|
||||
player.SendNotification("~g~Du bist jetzt im Dienst!", false);
|
||||
|
||||
Reference in New Issue
Block a user