I checked the reference of amxmodx 1.0 for reset_user_wstats and got such words:
reset_user_wstats
DoDX (dodstats.inc)
Description
reset_user_wstats - Resets life, weapon, victims and attackers user stats.
Syntax
reset_user_wstats ( player )
Type
Native
As this explanation, this function will reset a players stats data.
then I wrote a test mod, execute reset_user_wstats when players connected to server. but I found Nothing Happend. when I use /rank or /rankstats, Nothing changed. it still report how many times died, kills etc..
I have checked the log file of amxmodx , there is no error about reset_user_wsstats in it.
I doubt what does reset_user_wstats? does it really works?