get_stats2
native get_stats2(index, stats[STATSX_MAX_OBJECTIVE], authid[] = "", authidlen = 0);
| Parameter |
Description |
| index | Client index |
| stats | Buffer to copy statistics to |
| authid | Buffer to copy client auth id to |
| authidlen | Maximum authid buffer size |
Retrieves objective statistics from the permanent storage on the server via
iterative, incremental access.
The permanent storage is updated on every respawn or client disconnect.
For a list of possible stat constants see the STATSX_* constants in
amxconst.inc
The fields in the statistics are:
0 - total defusions
1 - bomb defused
2 - bomb plants
3 - bomb explosions
Next rank index (> 0 and > index), or 0 if no more
statistics exist