No Team Flash

Сообщения
48
Реакции
4
Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
Hello it is any person to edit one littel code just to make work without reapi, i not have for my server i ask for my friend i like this version support whblocker correct
the code is
PHP:
#include <amxmodx>
#include <reapi>

// const BLINDED_PARTLY = 200
// const BLINDED_FULLY = 255

public plugin_init ()
{
    register_plugin ("[ReAPI] No Team Flash lite", "0.0.2", "Vaqtincha")

    RegisterHookChain (RG_PlayerBlind, "PlayerBlind", .post = false)
}

public PlayerBlind (const index, const inflictor, const attacker, const Float: fadeTime, const Float: fadeHold, const alpha, Float: color [3])
{
    // server_print ("INFLICTOR:% d", inflictor)
    if (index! = attacker && get_member (index, m_iTeam) == get_member (attacker, m_iTeam))
    {
        // don't let a 3rd party to know that this the player is blind
        set_member (index, m_blindAlpha, 0);
        // set_member (index, m_blindStartTime, 0);
        // set_member (index, m_blindHoldTime, 0);
        return HC_SUPERCEDE;
    }

    return HC_CONTINUE;
}
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу