get_user_vstats
- Синтаксис
-
native get_user_vstats(index, victim, stats[8], bodyhits[8], wpnname[] = "", len = 0);
Переменная | Описание |
---|---|
index |
Client index |
victim |
Victim client index, or 0 to retrieve the statistics against all victims |
stats |
Buffer to copy statistics to |
bodyhits |
Buffer to copy body hits to |
wpnname |
Optional buffer to copy last used weapon name to |
len |
Maximum buffer size |
- Описание
- Retrieves the client's statistics inflicted upon another client from the current round.
- Пометка
-
For a list of possible body hitplaces see the HIT_* constants in amxconst.inc
- Пометка
-
The fields in the statistics are: 0 - Kills 1 - Deaths 2 - Headshots 3 - Teamkills 4 - Shots 5 - Hits 6 - Damage
- Возвращает
- 1 on success, 0 if no statistics are available against the specified victim