get_user_wstats

Синтаксис

native get_user_wstats(index,wpnindex,stats[DODX_MAX_STATS],bodyhits[MAX_BODYHITS]);

Описание

Gets stats from given weapon index. If wpnindex is 0
then the stats are from all weapons. If weapon has not been used function
returns 0 in other case 1. Fields in stats are:
0 - kills
1 - deaths
2 - headshots
3 - teamkilling
4 - shots
5 - hits
6 - damage
7 - score
For body hits fields see amxconst.inc.