Raised This Month: $ Target: $400
 0% 

Statsx -- For Admins Only


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ZeonSoldier
Member
Join Date: Jan 2006
Old 04-12-2006 , 20:19   Statsx -- For Admins Only
Reply With Quote #1

Does anyone know how I might limit the stats plugin so that it only logs for admins of a given admin level?? I have modified it to the best of my knowledge and it still stores stats for everyone. I have made it spit out an error message to non-admins on /rank and /statsme, and on the stats menu it only shows those with the sufficient admin level in the server. But when you do /top15 it proves that it still stores the stats for everyone. I put a piece of code in the client_death() method to check if they have the admin level, but it doesn't seem to work. I have attached my copy of statsx.sma below.

Any help would be appreciated.
Attached Files
File Type: sma Get Plugin or Get Source (statsx.sma - 702 views - 52.8 KB)
ZeonSoldier is offline
Send a message via MSN to ZeonSoldier
ZeonSoldier
Member
Join Date: Jan 2006
Old 04-18-2006 , 22:53  
Reply With Quote #2

Does anyone know where to start with this? Maybe some way to manually remove user's stats at the end of each round or something of the sort.
ZeonSoldier is offline
Send a message via MSN to ZeonSoldier
diamond-optic
Veteran Member
Join Date: May 2005
Old 04-18-2006 , 22:57  
Reply With Quote #3

try editing the stats_logging.sma

ps i run dod, so im not sure if thats dod specific file or not, sorry if it is lol...
__________________
diamond-optic is offline
ZeonSoldier
Member
Join Date: Jan 2006
Old 04-19-2006 , 02:14  
Reply With Quote #4

I just checked that plugin. All it seems to do is log the weaponstats to the server log on a player disconnect.

Thanks for the suggestion though.
ZeonSoldier is offline
Send a message via MSN to ZeonSoldier
Reply


Thread Tools
Display Modes

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 05:11.


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