Okay I edited "formatex.
Code:
format_top10(sBuffer[2048])
{
new iMax = get_statsnum()
new izStats[8], izBody[8], t_sName[32]
new iLen = 0
if (iMax > 10)
{
iMax = 10;
}
iLen = formatex(sBuffer, 2047, "<center><body bgcolor=#000000><font color=#FFFFFF size=4 face=helvetica><pre>")
iLen += formatex(sBuffer[iLen], 2047 - iLen, "%2s %22s %6s %6s %4s^n", "[Rank]", "[Nume]", "[Ucideri]", "[Decesuri]", "[HS]")
for (new i = 0; i < iMax && 2047 - iLen > 0; i++)
{
get_stats(i, izStats, izBody, t_sName, 31)
replace_all(t_sName, 31, "<", "[")
replace_all(t_sName, 31, ">", "]")
iLen += formatex(sBuffer[iLen], 2047 - iLen, "%-4.2d %22s %5.6d %6d %4d^n", i + 1, t_sName, izStats[0], izStats[1], izStats[2])
}
}
public cmdTop10(id)
{
format_top10(g_sBuffer)
show_motd(id, g_sBuffer, "Top 10")
client_cmd(id,"spk ^"vox/deeoo user status^"")
return PLUGIN_CONTINUE
}
I want to be arranged, as shown here look (deformed).
[IMG]http://img91.**************/img91/3848/tarep.jpg[/IMG]
Can you help him up? Thanks for the kindness you.