Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe

Скрипт медицина

Recommended Posts

Скрипт используя  набор для определения группы крови, в чате выводит чем болеешь.

Контакты: писать на форуме в ЛС, либо Вк (ссылки в профиле)

Share this post

Link to post
Share on other sites

Так есть же бесплатный))) 

Share this post

Link to post
Share on other sites
3 минуты назад, dorbi777 сказал:

Так есть же бесплатный))) 

Не нашёл (((


Share this post

Link to post
Share on other sites
1 минуту назад, TUNGUS2322 сказал:

Не нашёл (((



modded class ActionTestBloodSelf
    void ActionTestBloodSelf()
        m_CallbackClass = ActionTestBloodSelfCB;
        m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_CRAFTING;
        m_FullBody = true;
        m_StanceMask = DayZPlayerConstants.STANCEMASK_CROUCH;
        m_SpecialtyWeight = UASoftSkillsWeight.PRECISE_LOW;
    override void CreateConditionComponents()  
        m_ConditionItem = new CCINonRuined;
        m_ConditionTarget = new CCTSelf;

    override bool HasTarget()
        return false;
    override string GetText()
        return "#test_blood";
    string hpstatus ( int X )
        string result; 
        if (X == 0) result = "#Nothing";
        if (X > 0 && X < 200) result = "#Initial";
        if (X >= 200 && X < 700) result = "#Middle";
        if (X >= 700 && X <= 1000) result = "#Late";
        return result;

    override void OnFinishProgressServer( ActionData action_data )
        PluginLifespan module_lifespan = PluginLifespan.Cast( GetPlugin( PluginLifespan ) );
        int blood_type = action_data.m_Player.GetStatBloodType().Get();
        module_lifespan.UpdateBloodType( action_data.m_Player, blood_type );
        module_lifespan.UpdateBloodTypeVisibility( action_data.m_Player, true );
        action_data.m_Player.GetSoftSkillsManager().AddSpecialty( m_SpecialtyWeight );

        EStatLevels immunityLevel = action_data.m_Player.GetImmunityLevel();
        string immunityLevelStr;
        switch (immunityLevel)
            case EStatLevels.GREAT: immunityLevelStr = "#GREAT"; break;
            case EStatLevels.HIGH: immunityLevelStr = "#HIGH"; break;
            case EStatLevels.MEDIUM: immunityLevelStr = "#MEDIUM"; break;
            case EStatLevels.LOW: immunityLevelStr = "#LOW"; break;
            case EStatLevels.CRITICAL: immunityLevelStr = "#CRITICAL"; break;

        SendMessageToClient(action_data.m_Player, "#Report:");
        SendMessageToClient(action_data.m_Player, "#Immunity " + immunityLevelStr);
        SendMessageToClient(action_data.m_Player, "#Food " + action_data.m_Player.GetSingleAgentCount(eAgents.FOOD_POISON).ToString());
        SendMessageToClient(action_data.m_Player, "#Cholera " + hpstatus(action_data.m_Player.GetSingleAgentCount(eAgents.CHOLERA)));
        SendMessageToClient(action_data.m_Player, "#Influenza " + hpstatus(action_data.m_Player.GetSingleAgentCount(eAgents.INFLUENZA)));
        SendMessageToClient(action_data.m_Player, "#Salmonella " + hpstatus(action_data.m_Player.GetSingleAgentCount(eAgents.SALMONELLA)));
        SendMessageToClient(action_data.m_Player, "#Wound " + hpstatus(action_data.m_Player.GetSingleAgentCount(eAgents.WOUND_AGENT)));
        SendMessageToClient(action_data.m_Player, "#Chemical " + hpstatus(action_data.m_Player.GetSingleAgentCount(eAgents.CHEMICAL_POISON)));

        #ifdef NAMALSK_SURVIVAL
        SendMessageToClient(action_data.m_Player, "Frostbite: " + player.GetStatFrostbiteEffect().Get());
        action_data.m_MainItem.AddHealth("", "", -4);
        if (action_data.m_MainItem.GetHealth("GlobalHealth", "Health") < 1)

Думаю жадьше сам разберёшься что и куда


"Nothing","Nothing found","Ничего не найдено"
"Initial","Initial stage","Начальная стадия"
"Middle","Middle stage","Средняя стадия"
"Late","Late stage","Поздняя стадия"
"Report","Medical Report:","Медицинский отчёт:"
"Immunity","Immunity Level:","Уровень Иммунитета:"
"Food","Food Poisoning:","Пищевое отравление:"
"Wound","Wound Infection:","Заражение раны:"
"Chemical","Chemical Poisoning:","Химическое отравление:"

Это файл перевода


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.