You can calculate set_task time from duration and holdtime parameters.
Also you can check blind directly via private data, code from gamedll:
PHP Code:
float endTime = pPlayer->m_blindFadeTime + pPlayer->m_blindHoldTime + pPlayer->m_blindStartTime;
if (gpGlobals->time < endTime)
{
// Player is blind, but he can be not fully blind
I'm not sure, but I think that m_blindUntilTime should check full blind:
PHP Code:
if (gpGlobals->time < pPlayer->m_blindUntilTime)
{
// Player is fully blind
__________________