Code: Select all
#include < amxmodx >
#define PLUGIN "Round Messages"
#define VERSION "1.0"
#define AUTHOR "[HD][3D]"
new bool: g_Data = false;
new g_Count = 0;
public plugin_init( ) {
register_plugin( PLUGIN, VERSION, AUTHOR );
register_event( "TextMsg", "game_commencing", "a", "2&#Game_C" );
register_event( "HLTV", "roundstart", "a", "1=0", "2=0" );
}
public game_commencing( )
g_Data = true;
public roundstart( ) {
if( g_Data == true )
g_Count++;
if( g_Count == 2 ) {
server_cmd( "sv_unlag 1" );
client_print(0, print_chat, "TEXT")
client_print(0, print_chat, "TEXT")
client_print(0, print_chat, "TEXT")
}
return PLUGIN_CONTINUE;
}