From e58e6071e3938b5979db67b3b7fc446517268f0f Mon Sep 17 00:00:00 2001 From: FruitieX Date: Tue, 17 May 2011 20:48:08 +0300 Subject: [PATCH] fix the spam by adding for loops --- qcsrc/server/playerstats.qc | 184 ++++++------------------------------ qcsrc/server/playerstats.qh | 78 --------------- 2 files changed, 29 insertions(+), 233 deletions(-) diff --git a/qcsrc/server/playerstats.qc b/qcsrc/server/playerstats.qc index 71d15d5d6..0256c037b 100644 --- a/qcsrc/server/playerstats.qc +++ b/qcsrc/server/playerstats.qc @@ -25,83 +25,21 @@ void PlayerStats_Init() PlayerStats_AddEvent(PLAYERSTATS_SCOREBOARD_VALID); PlayerStats_AddEvent(PLAYERSTATS_RANK); - PlayerStats_AddEvent(PLAYERSTATS_ACC_LASER_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_LASER_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SHOTGUN_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SHOTGUN_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_UZI_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_UZI_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_GRENADE_LAUNCHER_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_GRENADE_LAUNCHER_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_ELECTRO_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_ELECTRO_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_CRYLINK_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_CRYLINK_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_NEX_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_NEX_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_HAGAR_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_HAGAR_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_ROCKET_LAUNCHER_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_ROCKET_LAUNCHER_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_MINSTANEX_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_MINSTANEX_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SNIPERRIFLE_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SNIPERRIFLE_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_FIREBALL_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_FIREBALL_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_MINE_LAYER_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_MINE_LAYER_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SEEKER_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SEEKER_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_TUBA_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_TUBA_FIRED); - - PlayerStats_AddEvent(PLAYERSTATS_ACC_LASER_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_LASER_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SHOTGUN_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SHOTGUN_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_UZI_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_UZI_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_GRENADE_LAUNCHER_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_GRENADE_LAUNCHER_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_ELECTRO_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_ELECTRO_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_CRYLINK_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_CRYLINK_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_NEX_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_NEX_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_HAGAR_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_HAGAR_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_ROCKET_LAUNCHER_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_ROCKET_LAUNCHER_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_MINSTANEX_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_MINSTANEX_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SNIPERRIFLE_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SNIPERRIFLE_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_FIREBALL_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_FIREBALL_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_MINE_LAYER_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_MINE_LAYER_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SEEKER_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SEEKER_CNT_FIRED); - PlayerStats_AddEvent(PLAYERSTATS_ACC_TUBA_CNT_HIT); - PlayerStats_AddEvent(PLAYERSTATS_ACC_TUBA_CNT_FIRED); - - PlayerStats_AddEvent(PLAYERSTATS_ACC_LASER_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SHOTGUN_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_UZI_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_GRENADE_LAUNCHER_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_ELECTRO_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_CRYLINK_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_NEX_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_HAGAR_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_ROCKET_LAUNCHER_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_MINSTANEX_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SNIPERRIFLE_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_FIREBALL_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_MINE_LAYER_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_SEEKER_FRAGS); - PlayerStats_AddEvent(PLAYERSTATS_ACC_TUBA_FRAGS); + // accuracy stats + entity w; + float i; + for(i = WEP_FIRST; i <= WEP_LAST; ++i) + { + w = get_weaponinfo(i); + + PlayerStats_AddEvent(strcat("acc-", w.netname, "-hit")); + PlayerStats_AddEvent(strcat("acc-", w.netname, "-fired")); + + PlayerStats_AddEvent(strcat("acc-", w.netname, "-cnt-hit")); + PlayerStats_AddEvent(strcat("acc-", w.netname, "-cnt-fired")); + + PlayerStats_AddEvent(strcat("acc-", w.netname, "-frags")); + } PlayerStats_AddEvent(PLAYERSTATS_ACHIEVEMENT_KILL_SPREE_3); PlayerStats_AddEvent(PLAYERSTATS_ACHIEVEMENT_KILL_SPREE_5); @@ -385,86 +323,22 @@ void PlayerStats_AddGlobalInfo(entity p) void PlayerStats_Accuracy(entity p) { - entity a; + entity a, w; a = p.accuracy; + float i; + + for(i = WEP_FIRST; i <= WEP_LAST; ++i) + { + w = get_weaponinfo(i); + + PlayerStats_Event(p, strcat("acc-", w.netname, "-hit"), a.accuracy_hit[i]); + PlayerStats_Event(p, strcat("acc-", w.netname, "-fired"), a.accuracy_fired[i]); + + PlayerStats_Event(p, strcat("acc-", w.netname, "-cnt-hit"), a.accuracy_cnt_hit[i]); + PlayerStats_Event(p, strcat("acc-", w.netname, "-cnt-fired"), a.accuracy_cnt_fired[i]); - PlayerStats_Event(p, PLAYERSTATS_ACC_LASER_HIT, a.accuracy_hit[WEP_LASER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_LASER_FIRED, a.accuracy_fired[WEP_LASER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SHOTGUN_HIT, a.accuracy_hit[WEP_SHOTGUN-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SHOTGUN_FIRED, a.accuracy_fired[WEP_SHOTGUN-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_UZI_HIT, a.accuracy_hit[WEP_UZI-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_UZI_FIRED, a.accuracy_fired[WEP_UZI-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_GRENADE_LAUNCHER_HIT, a.accuracy_hit[WEP_GRENADE_LAUNCHER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_GRENADE_LAUNCHER_FIRED, a.accuracy_fired[WEP_GRENADE_LAUNCHER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_ELECTRO_HIT, a.accuracy_hit[WEP_ELECTRO-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_ELECTRO_FIRED, a.accuracy_fired[WEP_ELECTRO-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_CRYLINK_HIT, a.accuracy_hit[WEP_CRYLINK-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_CRYLINK_FIRED, a.accuracy_fired[WEP_CRYLINK-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_NEX_HIT, a.accuracy_hit[WEP_NEX-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_NEX_FIRED, a.accuracy_fired[WEP_NEX-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_HAGAR_HIT, a.accuracy_hit[WEP_HAGAR-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_HAGAR_FIRED, a.accuracy_fired[WEP_HAGAR-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_ROCKET_LAUNCHER_HIT, a.accuracy_hit[WEP_ROCKET_LAUNCHER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_ROCKET_LAUNCHER_FIRED, a.accuracy_fired[WEP_ROCKET_LAUNCHER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_MINSTANEX_HIT, a.accuracy_hit[WEP_MINSTANEX-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_MINSTANEX_FIRED, a.accuracy_fired[WEP_MINSTANEX-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SNIPERRIFLE_HIT, a.accuracy_hit[WEP_SNIPERRIFLE-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SNIPERRIFLE_FIRED, a.accuracy_fired[WEP_SNIPERRIFLE-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_FIREBALL_HIT, a.accuracy_hit[WEP_FIREBALL-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_FIREBALL_FIRED, a.accuracy_fired[WEP_FIREBALL-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_MINE_LAYER_HIT, a.accuracy_hit[WEP_MINE_LAYER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_MINE_LAYER_FIRED, a.accuracy_fired[WEP_MINE_LAYER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SEEKER_HIT, a.accuracy_hit[WEP_SEEKER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SEEKER_FIRED, a.accuracy_fired[WEP_SEEKER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_TUBA_HIT, a.accuracy_hit[WEP_TUBA-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_TUBA_FIRED, a.accuracy_fired[WEP_TUBA-1]); - - PlayerStats_Event(p, PLAYERSTATS_ACC_LASER_CNT_HIT, a.accuracy_cnt_hit[WEP_LASER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_LASER_CNT_FIRED, a.accuracy_cnt_fired[WEP_LASER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SHOTGUN_CNT_HIT, a.accuracy_cnt_hit[WEP_SHOTGUN-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SHOTGUN_CNT_FIRED, a.accuracy_cnt_fired[WEP_SHOTGUN-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_UZI_CNT_HIT, a.accuracy_cnt_hit[WEP_UZI-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_UZI_CNT_FIRED, a.accuracy_cnt_fired[WEP_UZI-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_GRENADE_LAUNCHER_CNT_HIT, a.accuracy_cnt_hit[WEP_GRENADE_LAUNCHER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_GRENADE_LAUNCHER_CNT_FIRED, a.accuracy_cnt_fired[WEP_GRENADE_LAUNCHER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_ELECTRO_CNT_HIT, a.accuracy_cnt_hit[WEP_ELECTRO-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_ELECTRO_CNT_FIRED, a.accuracy_cnt_fired[WEP_ELECTRO-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_CRYLINK_CNT_HIT, a.accuracy_cnt_hit[WEP_CRYLINK-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_CRYLINK_CNT_FIRED, a.accuracy_cnt_fired[WEP_CRYLINK-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_NEX_CNT_HIT, a.accuracy_cnt_hit[WEP_NEX-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_NEX_CNT_FIRED, a.accuracy_cnt_fired[WEP_NEX-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_HAGAR_CNT_HIT, a.accuracy_cnt_hit[WEP_HAGAR-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_HAGAR_CNT_FIRED, a.accuracy_cnt_fired[WEP_HAGAR-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_ROCKET_LAUNCHER_CNT_HIT, a.accuracy_cnt_hit[WEP_ROCKET_LAUNCHER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_ROCKET_LAUNCHER_CNT_FIRED, a.accuracy_cnt_fired[WEP_ROCKET_LAUNCHER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_MINSTANEX_CNT_HIT, a.accuracy_cnt_hit[WEP_MINSTANEX-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_MINSTANEX_CNT_FIRED, a.accuracy_cnt_fired[WEP_MINSTANEX-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SNIPERRIFLE_CNT_HIT, a.accuracy_cnt_hit[WEP_SNIPERRIFLE-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SNIPERRIFLE_CNT_FIRED, a.accuracy_cnt_fired[WEP_SNIPERRIFLE-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_FIREBALL_CNT_HIT, a.accuracy_cnt_hit[WEP_FIREBALL-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_FIREBALL_CNT_FIRED, a.accuracy_cnt_fired[WEP_FIREBALL-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_MINE_LAYER_CNT_HIT, a.accuracy_cnt_hit[WEP_MINE_LAYER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_MINE_LAYER_CNT_FIRED, a.accuracy_cnt_fired[WEP_MINE_LAYER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SEEKER_CNT_HIT, a.accuracy_cnt_hit[WEP_SEEKER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SEEKER_CNT_FIRED, a.accuracy_cnt_fired[WEP_SEEKER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_TUBA_CNT_HIT, a.accuracy_cnt_hit[WEP_TUBA-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_TUBA_CNT_FIRED, a.accuracy_cnt_fired[WEP_TUBA-1]); - - PlayerStats_Event(p, PLAYERSTATS_ACC_LASER_FRAGS, a.accuracy_frags[WEP_LASER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SHOTGUN_FRAGS, a.accuracy_frags[WEP_SHOTGUN-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_UZI_FRAGS, a.accuracy_frags[WEP_UZI-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_GRENADE_LAUNCHER_FRAGS, a.accuracy_frags[WEP_GRENADE_LAUNCHER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_ELECTRO_FRAGS, a.accuracy_frags[WEP_ELECTRO-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_CRYLINK_FRAGS, a.accuracy_frags[WEP_CRYLINK-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_NEX_FRAGS, a.accuracy_frags[WEP_NEX-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_HAGAR_FRAGS, a.accuracy_frags[WEP_HAGAR-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_ROCKET_LAUNCHER_FRAGS, a.accuracy_frags[WEP_ROCKET_LAUNCHER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_MINSTANEX_FRAGS, a.accuracy_frags[WEP_MINSTANEX-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SNIPERRIFLE_FRAGS, a.accuracy_frags[WEP_SNIPERRIFLE-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_FIREBALL_FRAGS, a.accuracy_frags[WEP_FIREBALL-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_MINE_LAYER_FRAGS, a.accuracy_frags[WEP_MINE_LAYER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_SEEKER_FRAGS, a.accuracy_frags[WEP_SEEKER-1]); - PlayerStats_Event(p, PLAYERSTATS_ACC_TUBA_FRAGS, a.accuracy_frags[WEP_TUBA-1]); + PlayerStats_Event(p, strcat("acc-", w.netname, "-frags"), a.accuracy_frags[i]); + } } void PlayerStats_EndMatch(float finished) diff --git a/qcsrc/server/playerstats.qh b/qcsrc/server/playerstats.qh index bd1900f8e..f546e5605 100644 --- a/qcsrc/server/playerstats.qh +++ b/qcsrc/server/playerstats.qh @@ -6,84 +6,6 @@ string PLAYERSTATS_JOINS = "joins"; string PLAYERSTATS_SCOREBOARD_VALID = "scoreboardvalid"; string PLAYERSTATS_RANK = "rank"; -string PLAYERSTATS_ACC_LASER_HIT = "acc-laser-hit"; -string PLAYERSTATS_ACC_LASER_FIRED = "acc-laser-fired"; -string PLAYERSTATS_ACC_SHOTGUN_HIT = "acc-sg-hit"; -string PLAYERSTATS_ACC_SHOTGUN_FIRED = "acc-sg-fired"; -string PLAYERSTATS_ACC_UZI_HIT = "acc-uzi-hit"; -string PLAYERSTATS_ACC_UZI_FIRED = "acc-uzi-fired"; -string PLAYERSTATS_ACC_GRENADE_LAUNCHER_HIT = "acc-gl-hit"; -string PLAYERSTATS_ACC_GRENADE_LAUNCHER_FIRED = "acc-gl-fired"; -string PLAYERSTATS_ACC_ELECTRO_HIT = "acc-electro-hit"; -string PLAYERSTATS_ACC_ELECTRO_FIRED = "acc-electro-fired"; -string PLAYERSTATS_ACC_CRYLINK_HIT = "acc-crylink-hit"; -string PLAYERSTATS_ACC_CRYLINK_FIRED = "acc-crylink-fired"; -string PLAYERSTATS_ACC_NEX_HIT = "acc-nex-hit"; -string PLAYERSTATS_ACC_NEX_FIRED = "acc-nex-fired"; -string PLAYERSTATS_ACC_HAGAR_HIT = "acc-hagar-hit"; -string PLAYERSTATS_ACC_HAGAR_FIRED = "acc-hagar-fired"; -string PLAYERSTATS_ACC_ROCKET_LAUNCHER_HIT = "acc-rl-hit"; -string PLAYERSTATS_ACC_ROCKET_LAUNCHER_FIRED = "acc-rl-fired"; -string PLAYERSTATS_ACC_MINSTANEX_HIT = "acc-minstanex-hit"; -string PLAYERSTATS_ACC_MINSTANEX_FIRED = "acc-minstanex-fired"; -string PLAYERSTATS_ACC_SNIPERRIFLE_HIT = "acc-rifle-hit"; -string PLAYERSTATS_ACC_SNIPERRIFLE_FIRED = "acc-rifle-fired"; -string PLAYERSTATS_ACC_FIREBALL_HIT = "acc-fireball-hit"; -string PLAYERSTATS_ACC_FIREBALL_FIRED = "acc-fireball-fired"; -string PLAYERSTATS_ACC_MINE_LAYER_HIT = "acc-minelayer-hit"; -string PLAYERSTATS_ACC_MINE_LAYER_FIRED = "acc-minelayer-fired"; -string PLAYERSTATS_ACC_SEEKER_HIT = "acc-seeker-hit"; -string PLAYERSTATS_ACC_SEEKER_FIRED = "acc-seeker-fired"; -string PLAYERSTATS_ACC_TUBA_HIT = "acc-tuba-hit"; -string PLAYERSTATS_ACC_TUBA_FIRED = "acc-tuba-fired"; - -string PLAYERSTATS_ACC_LASER_CNT_HIT = "acc-laser-cnt-hit"; -string PLAYERSTATS_ACC_LASER_CNT_FIRED = "acc-laser-cnt-fired"; -string PLAYERSTATS_ACC_SHOTGUN_CNT_HIT = "acc-sg-cnt-hit"; -string PLAYERSTATS_ACC_SHOTGUN_CNT_FIRED = "acc-sg-cnt-fired"; -string PLAYERSTATS_ACC_UZI_CNT_HIT = "acc-uzi-cnt-hit"; -string PLAYERSTATS_ACC_UZI_CNT_FIRED = "acc-uzi-cnt-fired"; -string PLAYERSTATS_ACC_GRENADE_LAUNCHER_CNT_HIT = "acc-gl-cnt-hit"; -string PLAYERSTATS_ACC_GRENADE_LAUNCHER_CNT_FIRED = "acc-gl-cnt-fired"; -string PLAYERSTATS_ACC_ELECTRO_CNT_HIT = "acc-electro-cnt-hit"; -string PLAYERSTATS_ACC_ELECTRO_CNT_FIRED = "acc-electro-cnt-fired"; -string PLAYERSTATS_ACC_CRYLINK_CNT_HIT = "acc-crylink-cnt-hit"; -string PLAYERSTATS_ACC_CRYLINK_CNT_FIRED = "acc-crylink-cnt-fired"; -string PLAYERSTATS_ACC_NEX_CNT_HIT = "acc-nex-cnt-hit"; -string PLAYERSTATS_ACC_NEX_CNT_FIRED = "acc-nex-cnt-fired"; -string PLAYERSTATS_ACC_HAGAR_CNT_HIT = "acc-hagar-cnt-hit"; -string PLAYERSTATS_ACC_HAGAR_CNT_FIRED = "acc-hagar-cnt-fired"; -string PLAYERSTATS_ACC_ROCKET_LAUNCHER_CNT_HIT = "acc-rl-cnt-hit"; -string PLAYERSTATS_ACC_ROCKET_LAUNCHER_CNT_FIRED = "acc-rl-cnt-fired"; -string PLAYERSTATS_ACC_MINSTANEX_CNT_HIT = "acc-minstanex-cnt-hit"; -string PLAYERSTATS_ACC_MINSTANEX_CNT_FIRED = "acc-minstanex-cnt-fired"; -string PLAYERSTATS_ACC_SNIPERRIFLE_CNT_HIT = "acc-rifle-cnt-hit"; -string PLAYERSTATS_ACC_SNIPERRIFLE_CNT_FIRED = "acc-rifle-cnt-fired"; -string PLAYERSTATS_ACC_FIREBALL_CNT_HIT = "acc-fireball-cnt-hit"; -string PLAYERSTATS_ACC_FIREBALL_CNT_FIRED = "acc-fireball-cnt-fired"; -string PLAYERSTATS_ACC_MINE_LAYER_CNT_HIT = "acc-minelayer-cnt-hit"; -string PLAYERSTATS_ACC_MINE_LAYER_CNT_FIRED = "acc-minelayer-cnt-fired"; -string PLAYERSTATS_ACC_SEEKER_CNT_HIT = "acc-seeker-cnt-hit"; -string PLAYERSTATS_ACC_SEEKER_CNT_FIRED = "acc-seeker-cnt-fired"; -string PLAYERSTATS_ACC_TUBA_CNT_HIT = "acc-tuba-cnt-hit"; -string PLAYERSTATS_ACC_TUBA_CNT_FIRED = "acc-tuba-cnt-fired"; - -string PLAYERSTATS_ACC_LASER_FRAGS = "acc-laser-frags"; -string PLAYERSTATS_ACC_SHOTGUN_FRAGS = "acc-sg-frags"; -string PLAYERSTATS_ACC_UZI_FRAGS = "acc-uzi-frags"; -string PLAYERSTATS_ACC_GRENADE_LAUNCHER_FRAGS = "acc-gl-frags"; -string PLAYERSTATS_ACC_ELECTRO_FRAGS = "acc-electro-frags"; -string PLAYERSTATS_ACC_CRYLINK_FRAGS = "acc-crylink-frags"; -string PLAYERSTATS_ACC_NEX_FRAGS = "acc-nex-frags"; -string PLAYERSTATS_ACC_HAGAR_FRAGS = "acc-hagar-frags"; -string PLAYERSTATS_ACC_ROCKET_LAUNCHER_FRAGS = "acc-rl-frags"; -string PLAYERSTATS_ACC_MINSTANEX_FRAGS = "acc-minstanex-frags"; -string PLAYERSTATS_ACC_SNIPERRIFLE_FRAGS = "acc-rifle-frags"; -string PLAYERSTATS_ACC_FIREBALL_FRAGS = "acc-fireball-frags"; -string PLAYERSTATS_ACC_MINE_LAYER_FRAGS = "acc-minelayer-frags"; -string PLAYERSTATS_ACC_SEEKER_FRAGS = "acc-seeker-frags"; -string PLAYERSTATS_ACC_TUBA_FRAGS = "acc-tuba-frags"; - string PLAYERSTATS_TOTAL = "total-"; string PLAYERSTATS_SCOREBOARD = "scoreboard-"; -- 2.39.2