changed default formula

This commit is contained in:
Lukasz Wlasinksi 2004-11-08 12:17:40 +00:00
parent f950d384b6
commit c0ee97b437

View File

@ -20,7 +20,14 @@
#include <amxmodx> #include <amxmodx>
public get_score(stats[9],body[8]) #define KILLS stats[0]
{ #define DEATHS stats[1]
return stats[0] - stats[1] - stats[3] /* kills - deaths - TKs */ #define TK stats[3]
#define SCORE stats[7]
public get_score(stats[9],body[8]){
if (!DEATHS)
DEATHS = 1
return (KILLS-DEATHS-TK)*KILLS/DEATHS
} }