|
Senior Member
|

04-21-2016
, 12:22
Re: As I create this Motd
|
#5
|
Quote:
Originally Posted by fysiks
So, what is your question?
|
my question is, what is the function,
if a player enters in the terrorist team,
the F, D, BP, BD, etc,
is counted in the team Terrorist = TT, in my motd.
equally if a player enters in the team Counter-Terrorist = CT.
F = Frags
D = Deaths
BP = Bomb Plant
BD = Bomb Defuse
This is my motd
PHP Code:
len = format(Info, 1500,
"<table align=center cellpadding=2 cellspacing=0 border=5 bordercolor=#F0F0F0>\
<th>Equipo\
<th>F\
<th>A\
<th>D\
<th>BP\
<th>BD\
<th>2K\
<th>3K\
<th>4K\
<th>5K</tr>" );
len += format(Info[len], 5500-len,"<th>TT");
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_k[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_a[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_d[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_bp[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_bd[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_2k[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_3k[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_4k[id]);
len += format(Info[len], 5500-len,"<th>%i</tr>", g_szPoints_5k[id]);
len += format(Info[len], 5500-len,"<th>CT");
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_k[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_a[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_d[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_bp[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_bd[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_2k[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_3k[id]);
len += format(Info[len], 5500-len,"<th>%i", g_szPoints_4k[id]);
len += format(Info[len], 5500-len,"<th>%i</tr>", g_szPoints_5k[id]);
show_motd(id, Info, "");
|
|