używam pluginu do tworzenia rankingu top15 nie mówie tu o statsx! wszystko chodzi, ale napotkałem problem przykładowo z nickiem
<Kamila>
gdy otworzy sie okno top15 wszystkie nicki wyswietla a w przypadku tego jest puste pole, motd wyswietlany w HTML
WriteTop15()
{
#if defined HTML_IN_MOTD
static const Header[] = "<body bgcolor=#000000><font color=#FFB000><pre>%5s %32s %5s^n^n";
static const Buffer[] = "%4d %32s %5d^n";
#else
static const Header[] = "%5s %22s %5s^n^n";
static const Buffer[] = "%5d %22s %5d^n";
#endif
static Length, Position, Size, SteamID[32], Name[32], Kills;
Length = formatex(g_Top15[Length], 2047 - Length, Header, "Pozycja", "Nick", "Wygrane");
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);
Length += formatex(g_Top15[Length], 2047 - Length, Buffer, Position + 1, Name, Kills);
}
}
ktoś coś? bo szukam rozwiązania ale nie moge nic znaleźć


Dodatki SourceMod












