anticheat safe armor
This commit is contained in:
@@ -81,6 +81,12 @@ namespace ReallifeGamemode.Server.Extensions
|
||||
player.Health = health;
|
||||
}
|
||||
|
||||
public static void SafeSetArmor(this Player player, int armor)
|
||||
{
|
||||
AntiCheat.NoHealthAntiCheatForPlayer(player.Name);
|
||||
player.Armor = armor;
|
||||
}
|
||||
|
||||
public static void SetJailTime(this User user, bool killed)
|
||||
{
|
||||
if (user == null)
|
||||
|
||||
Reference in New Issue
Block a user