fix arevive @AdminCommands.cs
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using GTANetworkAPI;
|
using GTANetworkAPI;
|
||||||
@@ -1091,7 +1091,7 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
ChatService.PlayerNotFound(player);
|
ChatService.PlayerNotFound(player);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (target.Health != 0)
|
if (!target.HasData("isDead") || target.GetData<bool>("isDead"))
|
||||||
{
|
{
|
||||||
ChatService.ErrorMessage(player, "Der Spieler ist nicht tot");
|
ChatService.ErrorMessage(player, "Der Spieler ist nicht tot");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user