Raised This Month: $ Target: $400
 0% 

Admin online counter


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AveM
New Member
Join Date: Oct 2007
Old 01-21-2008 , 20:47   Admin online counter
Reply With Quote #1

Hi

I would really apriciate it if you could make me plugin that counts how much every account in users.ini was online ...

But there is a litle catch ...

i have modified way of getting access ...

i have one extra setinfo _un filed in wich they type admin nick... so they can have any nick that they want as long as they have _un and _pw field right ...

Thx
AveM is offline
Rencky
Member
Join Date: Sep 2007
Old 01-22-2008 , 10:19   Re: Admin online counter
Reply With Quote #2

why don't you add your admins by steam_id?? they can change their into whatever they want :/

and i would like this plugin too, if it's possible...
__________________
I live for hardstyles....I live for hardstyle baby
Rencky is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-22-2008 , 15:26   Re: Admin online counter
Reply With Quote #3

Code:
new admincount;
new maxplayers = get_maxplayers();
for(new id=1; id <= maxplayers; id++)
{
    if(is_user_connected(id) && is_user_admin(id))
         admincount++;
}
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 20:01.


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