Player:ScreenFade
Description
Fades the screen
Arguments
Example
Flashes the screen red to nothing over 0.3 seconds when a player gets hurt.
hook.Add( "PlayerHurt", "hurt_effect_fade", function( ply )
ply:ScreenFade( SCREENFADE.IN, Color( 255, 0, 0, 128 ), 0.3, 0 )
end )