Raised This Month: $ Target: $400
 0% 

help hlstriker


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode