I would like to catch and block the flash. I have found a way to hook ScreenFade, but I think this one from ham is much more reliable, though I couldn't get it to work or I am doing something wrong. Tried to hook it as post and as pre:
PHP Code:
RegisterHam(Ham_CS_Player_Blind, "player", "Player_Blind", 0)
public Player_Blind(id)
{
if(is_user_alive(id))
{
client_print(id, print_chat, "Flashed")
return HAM_SUPERCEDE
}
return HAM_IGNORED
}
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.