Updated get_stats and get_stats2 to also retrieve authid

This commit is contained in:
Johnny Bergström
2005-01-14 12:14:34 +00:00
parent 9959ef52b3
commit f18adbf9d6
2 changed files with 8 additions and 4 deletions

View File

@ -45,7 +45,7 @@ native reset_user_wstats(index);
/* Gets overall stats which stored in stats.dat file in amx folder
* and updated on every mapchange or user disconnect.
* Function returns next index of stats entry or 0 if no more exists. */
native get_stats(index,stats[8],bodyhits[8],name[],len);
native get_stats(index,stats[8],bodyhits[8],name[],len,authid[],authidlen = 0);
/* Returns number of all entries in stats. */
native get_statsnum();
@ -58,4 +58,4 @@ native get_statsnum();
* 3 - bomb explosions
*/
native get_user_stats2(index,stats[4]);
native get_stats2(index,stats[4]);
native get_stats2(index,stats[4],authid[],authidlen = 0);