Add stat constants in plugins (#522)
* Add stat constants in plugins * Add missing include in dodstats.sma * Fix misplaced HIT_RIGHTLEG constant
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
#include <amxmodx>
|
||||
|
||||
public get_score(stats[8],body[8])
|
||||
public get_score(stats[STATSX_MAX_STATS],body[MAX_BODYHITS])
|
||||
{
|
||||
return stats[0] - stats[1] - stats[3] /* kills - deaths - TKs */
|
||||
return stats[STATSX_KILLS] - stats[STATSX_DEATHS] - stats[STATSX_TEAMKILLS] /* kills - deaths - TKs */
|
||||
}
|
||||
|
Reference in New Issue
Block a user