replaced get_weaponname with xmod_get_wpnname

This commit is contained in:
Lukasz Wlasinksi
2004-10-25 11:16:02 +00:00
parent 3d1162ecd9
commit 0e681d9bd4
3 changed files with 6 additions and 6 deletions

View File

@ -54,8 +54,7 @@ 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 ) ) {
get_weaponname( i , szWeapon , 23 )
xmod_get_wpnname( 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,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^")",