Mógłby mi ktoś przerobić ten kod:
new name[32];
new winner = starid[2];
if ( !winner )
return;
new line[100];
line[0] = 0x04;
formatex(line[1], 98, "Najlepsi gracze na tej mapie:");
ShowColorMessage(starid[2], MSG_BROADCAST, line);
line[0] = 0x04;
get_user_name(starid[2], name, charsmax(name));
line[0] = 0x04;
formatex(line[1], 98, "1. %s - %i Fragow (+%d dosw.)", name, starfrags[2], exp_1miejsce);
ShowColorMessage(starid[2], MSG_BROADCAST, line);
get_user_name(starid[1], name, charsmax(name));
line[0] = 0x04;
formatex(line[1], 98, "2. %s - %i Fragow (+%d dosw.)", name, starfrags[1], exp_2miejsce);
ShowColorMessage(starid[2], MSG_BROADCAST, line);
get_user_name(starid[0], name, charsmax(name));
line[0] = 0x04;
formatex(line[1], 98, "3. %s - %i Fragow (+%d dosw.)", name, starfrags[0], exp_3miejsce);
ShowColorMessage(starid[2], MSG_BROADCAST, line);
}
ShowColorMessage(id, type, message[])
{
message_begin(type, gmsgSayText, _, id);
write_byte(id);
write_string(message);
message_end();
}
Tak, aby było tak jak jest tylko zmienić kolor na default, zwykły (ten żółty), a nick na kolor TEAM(drużynowy), jeśli ktoś nie wie o co chodzi wytłumacze lepiej ;d


Dodatki SourceMod



Temat jest zamknięty




cod_nagrody_exp.amxx







