Raised This Month: $ Target: $400
 0% 

About【reset_user_wstats】


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
griefhy
Member
Join Date: Jul 2006
Old 11-30-2007 , 07:13   About【reset_user_wstats】
Reply With Quote #1

What's the use of this function ?
The ones that can reset the player " rank" ?
For example:

#include <amxmodx>
#include <amxmisc>
#include <csstats>
#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "Author"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /reset","reset",0)
}
public reset(id)
{
reset_user_wstats(id)
}
but,It seems that there is not response!

Another question ,Reset the player's RANK data with PLUGINS, OK?
I do not want to use "csstats _ Reset" orders,I need, reset csstats.dat after changing the map, that is to say that map just begin when,What to do to realize this function? thanks,please give me some idea ......
griefhy is offline
RaYden
Member
Join Date: Sep 2007
Old 11-30-2007 , 16:09   Re: About【reset_user_wstats】
Reply With Quote #2

reset_user_wstats has a totally different function search for it here http://www.amxmodx.org/funcwiki.php
Reseting the rank may depend on what storing method you user and witch module u store the rank with

Last edited by RaYden; 11-30-2007 at 18:41.
RaYden is offline
griefhy
Member
Join Date: Jul 2006
Old 11-30-2007 , 20:24   Re: About【reset_user_wstats】
Reply With Quote #3

Thank you for your replies, I see the function and introduce, what I used is AMXX basic memory way, do not seem that can operate " csstats.dat " directly in function Data inside!
griefhy is offline
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 11:13.


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