 |
|
Veteran Member
|

03-26-2013
, 14:01
Re: ======>Rank systeme<====
|
#6
|
Quote:
WriteTop15()
{
#if defined HTML_IN_MOTD
static const Header[] = "<body bgcolor=#000000><font color=#FFB000><pre>%5s %22s %5s %5s^n^n";
static const Buffer[] = "%4d %22s %5d %6d^n";
#else
static const Header[] = "%5s %22s %5s %5s^n^n";
static const Buffer[] = "%5d %22s %5d %5d^n";
#endif
static Length, Position, Size, SteamID[32], Name[32], Kills, Deaths;
Length = formatex(g_Top15[Length], 2047 - Length, Header, "Rank", "Name", "Kills", "Deaths");
for (Position = 0, Size = min(ArraySize(g_SteamID), 15); Position < Size; Position++)
{
ArrayGetString(g_SteamID, Position, SteamID, 31);
TrieGetString(g_Name, SteamID, Name, 31);
TrieGetCell(g_Kills, SteamID, Kills);
TrieGetCell(g_Deaths, SteamID, Deaths);
Length += formatex(g_Top15[Length], 2047 - Length, Buffer, Position + 1, Name, Kills, Deaths);
}
}
|
Color,front ect... this modific
__________________
|
|
|
|