Hi again.
PHP Code:
public ShowAllAchievements(id) {
new ach[64], msg[2047], len
format(ach,63, "All Achievements")
len = format(msg,2046,"<body bgcolor=%s><font face=^"Tahoma^" size=1 color=%s>", BGColor, TitleColor)
len += format(msg[len],2046-len,"<center><h2>%s</h2><table></center>", ShowAllAchTitle)
len += format(msg[len],2046-len,"<tr>")
len += format(msg[len],2046-len,"<td width=^"300^"><b>Name</b></td>")
len += format(msg[len],2046-len,"<td width=^"99^"><b>%L</b></td>", id, "AWARDS_GOALS")
len += format(msg[len],2046-len,"<td width=^"99^"><b>%L</b></td>", id, "AWARDS_AUTOGOALS")
len += format(msg[len],2046-len,"<td width=^"99^"><b>%L</b></td>", id, "AWARDS_ASSISTS")
len += format(msg[len],2046-len,"<td width=^"99^"><b>%L</b></td>", id, "AWARDS_STEALS")
len += format(msg[len],2046-len,"<td width=^"99^"><b>%L</b></td>", id, "AWARDS_BALLKILLS")
len += format(msg[len],2046-len,"<td width=^"99^"><b>%L</b></td>", id, "AWARDS_LONGESTGOAL")
len += format(msg[len],2046-len,"<td width=^"99^"><b>%L</b></td><tr>", id, "AWARDS_DISARMS")
for (new i=1; i<=maxplayers; i++) {
if (is_user_bot(i) || !is_user_connected(i))
continue
new name[32]
get_user_name(i, name, 31)
len += format(msg[len],2046-len,"<tr><td>%s</td><br>", name)
for(new x = 1; x<=RECORDS; x++) {
if (x == 7)
continue
if (x != RECORDS)
len += format(msg[len],2046-len,"<td>%i</td>",MadeRecord[i][x])
else
len += format(msg[len],2046-len,"<td>%i</td></tr>",MadeRecord[i][x])
}
}
len += format(msg[len],2046-len,"</tr><br></table></font>")
len += format(msg[len],2046-len,"<br><center><font color=%s>Plugin by Mxnn</font></center>", MadeByColor)
show_motd(id , msg, ach)
return PLUGIN_HANDLED
}
But exists a problem.. When the motd is shown the title and the last msg (Plugin by Mxnn) appears in white, but all the table appears in black :S