Иконка ресурса

FREE MaxHealthPlugin : 1.0.0 1.0.0

Нет прав для скачивания
Команда форума

15FPS

Administrator
15FPS добавил(а) новый ресурс:

MaxHealthPlugin : 1.0.0 - Changes the maximum health of players

C#:
using Oxide.Core;
using Oxide.Core.Plugins;
using Oxide.Core.Libraries.Covalence;
using UnityEngine;

namespace Oxide.Plugins
{
    [Info("MaxHealthPlugin", "YourName", "1.0.0")]
    [Description("Changes the maximum health of players")]
    public class MaxHealthPlugin : RustPlugin
    {
        // Hook that changes the maximum health of the player
        private void SetMaxHealth(BasePlayer player, float newMax)
        {
            newMax = Mathf.Clamp(newMax, 1, 200); //...

Узнать больше об этом ресурсе...
 
Сверху