Code:
#include < amxmodx >
public plugin_init( )
{
register_event( "SendAudio", "eventTerroristWin", "a", "2=%!MRAD_terwin" );
register_event( "SendAudio", "eventCtWin", "a", "2=%!MRAD_ctwin" );
}
public eventTerroristWin( )
{
set_hudmessage( random( 255 ), random( 255 ), random( 255 ), -1.0, 0.35, 0, 6.0, 12.0, 0.1, 0.2, -1 );
show_hudmessage( 0, "Terrorists Won!" );
return PLUGIN_HANDLED;
}
public eventCtWin( )
{
set_hudmessage( random( 255 ), random( 255 ), random( 255 ), -1.0, 0.35, 0, 6.0, 12.0, 0.1, 0.2, -1 );
show_hudmessage( 0, "Counter-Terrorists Won!" );
return PLUGIN_HANDLED;
}