mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45:37 +03:00
changed default formula
This commit is contained in:
parent
f950d384b6
commit
c0ee97b437
@ -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
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user