Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
larnk
Member
Join Date: Dec 2004
Old 01-11-2005 , 02:43   [Need Help]what does reset_user_wstats(index) effect?
Reply With Quote #1

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?
larnk is offline
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 01-11-2005 , 18:01   Re: [Need Help]what does reset_user_wstats(index) effect?
Reply With Quote #2

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.
__________________
Looking for DoD plugins ? Check DoD Plugins Center
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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