From bff8c3cdcf413e48ed8e8c079d4c395f8949e3f6 Mon Sep 17 00:00:00 2001 From: Lukasz Wlasinksi Date: Tue, 5 Oct 2004 16:20:03 +0000 Subject: [PATCH] updated to csx --- plugins/cstrike/stats_logging.sma | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/plugins/cstrike/stats_logging.sma b/plugins/cstrike/stats_logging.sma index dab5e87d..7d98d23b 100755 --- a/plugins/cstrike/stats_logging.sma +++ b/plugins/cstrike/stats_logging.sma @@ -54,15 +54,12 @@ public client_disconnect(id) { get_user_authid(id, szAuthid , 31 ) for (new i = 1 ; i < 31 ; ++i ) { if ( get_user_wstats( id , i ,iStats , iHits ) ) { - if ( i == CSW_HEGRENADE) - copy(szWeapon[7],16,"grenade") - else - get_weaponname( i , szWeapon , 23 ) + get_weaponname( i , szWeapon , 23 ) log_message("^"%s<%d><%s><%s>^" triggered ^"weaponstats^" (weapon ^"%s^") (shots ^"%d^") (hits ^"%d^") (kills ^"%d^") (headshots ^"%d^") (tks ^"%d^") (damage ^"%d^") (deaths ^"%d^")", - szName,iUserid,szAuthid,szTeam,szWeapon[7],iStats[4],iStats[5],iStats[0], iStats[2],iStats[3],iStats[6],iStats[1]) + szName,iUserid,szAuthid,szTeam,szWeapon,iStats[4],iStats[5],iStats[0], iStats[2],iStats[3],iStats[6],iStats[1]) log_message("^"%s<%d><%s><%s>^" triggered ^"weaponstats2^" (weapon ^"%s^") (head ^"%d^") (chest ^"%d^") (stomach ^"%d^") (leftarm ^"%d^") (rightarm ^"%d^") (leftleg ^"%d^") (rightleg ^"%d^")", - szName,iUserid,szAuthid,szTeam,szWeapon[7],iHits[1],iHits[2],iHits[3], iHits[4],iHits[5],iHits[6],iHits[7]) + szName,iUserid,szAuthid,szTeam,szWeapon,iHits[1],iHits[2],iHits[3], iHits[4],iHits[5],iHits[6],iHits[7]) } } new iTime = get_user_time(id,1)