Czy jest możliwość wyłączenia brania pod uwagę deadów, przy wyliczaniu top15? Jest taki plugin jak csstats. W nim znajduje się tylko jedna funkcja:
/* Function calculates position in rank. * * Stats: * 0 - kills * 1 - deaths * 2 - headshots * 3 - teamkills * 4 - shots * 5 - hits * 6 - damage * 7 - defusions * 8 - defused * 9 - plants * 10 - explosions * * Returning cellmin as value in get_score function * makes that rank won't be saved. */ public get_score(stats[11], body[8]) return stats[0] - stats[1] - stats[3] // kills - deaths - teamkills
Czy dobrze rozumiem, że poprzez jej edycję wyedytuję sposób wyliczania rankingu?