replaced get_weaponname with xmod_get_wpnname
This commit is contained in:
@ -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^")",
|
||||
|
Reference in New Issue
Block a user