Hi, I have a question about screenfade I make it transparent, I have this code
PHP Code:
ScreenFade( const id, const iFade = 1 )
{
new szColor[ 20 ], szRed[ 4 ], szGreen[ 4 ], szBlue[ 4 ], szAlpha[ 4 ];
get_pcvar_string( g_pFadeColor, szColor, 19 );
parse( szColor, szRed, 3, szGreen, 3, szBlue, 3, szAlpha, 3 );
message_begin( MSG_ONE, g_iMsgScreenFade,{0,0,0}, id );
write_short( 8192 * iFade );
write_short( 8192 * iFade );
write_short( 0x0000 );
write_byte( str_to_num( szRed ) );
write_byte( str_to_num( szGreen ) );
write_byte( str_to_num( szBlue ) );
write_byte( str_to_num( szAlpha ) );
message_end();
}
__________________