Statsx -- For Admins Only
1 Attachment(s)
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. |
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.
|
try editing the stats_logging.sma :P
ps i run dod, so im not sure if thats dod specific file or not, sorry if it is lol... |
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. |
| All times are GMT -4. The time now is 05:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.