ok after testing I have a fully working anti-flash mod... haven't taken out the deafening part yet, but the visual i've taken out successfully.
This is my player_blind.cfg:
Quote:
es_setinfo antiflash 0
es_keygetvalue antiflash "XPGroup" event_var(es_steamid) "aflash"
if (server_var(antiflash) notequalto "0") then es_setplayerprop event_var(userid) "CCSPlayer.m_flFlashDuration" 1
if (server_var(antiflash) notequalto "0") then es_setplayerprop event_var(userid) "CCSPlayer.m_flFlashMaxAlpha" 1
|
I've tested this, and it works fine for me.
EDIT: I tested with duration and alpha set to 0 and it works even better
