AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Statsx -- For Admins Only (https://forums.alliedmods.net/showthread.php?t=26997)

ZeonSoldier 04-12-2006 20:19

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.

ZeonSoldier 04-18-2006 22:53

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.

diamond-optic 04-18-2006 22:57

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...

ZeonSoldier 04-19-2006 02:14

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.