Thread: help hlstriker
View Single Post
Author Message
DRACULA
Member
Join Date: Jun 2007
Old 08-26-2007 , 13:38   help hlstriker
Reply With Quote #1

Hlstriker continue my plugin ! It is that plugin =who shows round x from x but i doo not want to shou whit t_say i want it normal whit tsay

ex:. [Name][Round][1][from][20]i chose max_round x

Code:
  #include <amxmodx> 
 
new rounds = 0; 
 
public plugin_init() { 
register_plugin("new plugin","0.1","DRACULA"); 
 
register_event("HLTV","event_new_round","a", "1=0", "2=0"); 
} 
 
 
public event_new_round() 
{ 
rounds++; 
rn_display(); 
} 
 
rn_display() 
{ 
new delta = get_cvar_num("mp_maxrounds") - rounds; 
 
set_hudmessage(255, 0, 0, 0.23, 0.23, 0, 6.0, 4.0) 
show_hudmessage(0, "Round %d from %d", delta, get_cvar_num("mp_maxrounds")); 
}
DRACULA is offline