Add constants for stats functions (#509)
* Add constants for stats functions * Changed STATS_ to STATSX_ and added 2 more defines * Added constants for all games * Add csstats_const.inc and add _MAX_ constats to enum * Change bodyhits
This commit is contained in:
29
plugins/include/csstats_const.inc
Normal file
29
plugins/include/csstats_const.inc
Normal file
@@ -0,0 +1,29 @@
|
||||
// vim: set ts=4 sw=4 tw=99 noet:
|
||||
//
|
||||
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
||||
// Copyright (C) The AMX Mod X Development Team.
|
||||
//
|
||||
// This software is licensed under the GNU General Public License, version 3 or higher.
|
||||
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
||||
// https://alliedmods.net/amxmodx-license
|
||||
|
||||
//
|
||||
// Counter-Strike Functions
|
||||
//
|
||||
|
||||
#if defined _csstats_const_included
|
||||
#endinput
|
||||
#endif
|
||||
#define _csstats_const_included
|
||||
|
||||
/**
|
||||
* Constants for objective based statistics
|
||||
*/
|
||||
enum
|
||||
{
|
||||
STATSX_TOTAL_DEFUSIONS = 0,
|
||||
STATSX_BOMBS_DEFUSED,
|
||||
STATSX_BOMBS_PLANTED,
|
||||
STATSX_BOMB_EXPLOSIONS,
|
||||
STATSX_MAX_OBJECTIVE
|
||||
}
|
Reference in New Issue
Block a user