na
client_print(id, print_chat, "Zadales dotychczas %d obrazen.", floatround(Damage[id]));
public EndRound( ) {
for(new i = 0;i<33;i++){
Xdamage[i] = Damage[i];
}
SortFloats(Xdamage, 33, Sort_Descending);
for(new i = 0; i<33; i++) {
if(!is_user_alive(i)){
continue;
}
static szName[32];
get_user_name(i, szName, sizeof(szName)-1);
floatround(Xdamage[i], floatround_floor);
if( ( Xdamage[0] == Damage[i] ) && g_playersnum > 1 ) {
client_print(0, print_chat, "Najwiecej obrazen zadal %s (%d obrazen!).", szName, floatround(Xdamage[0]) );
break;
}
}
}


Dodatki SourceMod




Moja zawartość
Nie podano

