Raised This Month: $ Target: $400
 0% 

Statsx -- For Admins Only


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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