I just want to block the flash effect for individual players.
Searched again for ScreenFade. (
http://forums.alliedmods.net/showpos...19&postcount=2)
PHP Code:
register_event("ScreenFade", "EventFlashbang", "b", "4=255", "5=255", "6=255", "7=200", "7=255")
public EventFlashbang(id)
{
client_print(0, print_chat, "event flash")
if(is_user_alive(id))
{
client_print(id, print_chat, "block flash")
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}
Both messages get called, but the flash is still there...
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.