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