AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Need Help]what does reset_user_wstats(index) effect? (https://forums.alliedmods.net/showthread.php?t=9247)

larnk 01-11-2005 02:43

[Need Help]what does reset_user_wstats(index) effect?
 
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?

SidLuke 01-11-2005 18:01

Re: [Need Help]what does reset_user_wstats(index) effect?
 
Quote:

Originally Posted by larnk
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?

It will reset stats from current map ( can be used for example after restartround to not save kills before round restart ) not his old stats.


All times are GMT -4. The time now is 19:28.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.