Raised This Month: $32 Target: $400
 8% 

Player Counter [Last Update: 04/20/07]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Statistical        Approver:   Hawk552 (427)
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 04-19-2007 , 12:16   Player Counter [Last Update: 04/20/07]
Reply With Quote #1

Player Counter


.:About:.
Player Counter counts the players that has been on the server, and players can say /pcount to see the statistic. It saves the statistic in nvault.

It can count:
  • Players that been on the server (non-unique and unique)
  • Players that has been on the server today
  • Time and number of most players online

.:Commands:.
say /pcount - Shows the statistic

.:Cvars:.
PC_enabled (D: 1) - Enables/Disables the plugin

.:Screenshots:.
I'm going to upload some screens later...

.:To-Do:.
Nothing atm

.:F.A.Q:.
To be written...

.:Version List:.
Quote:
  • 1.0 - Original Version
  • 1.1 - Changed way of opening nVault (Emp`)
  • 1.2 - Fixed "most players online" bug.
.:Credits:.
Alka for the idea

DL's: 35 + 3
Attached Files
File Type: sma Get Plugin or Get Source (player_counter.sma - 2611 views - 3.3 KB)

Last edited by Deviance; 04-20-2007 at 09:55.
Deviance is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 04-19-2007 , 12:31   Re: Player Counter [Last Update: 04/19/07]
Reply With Quote #2

This is very nice! ^^!! ....Gj Deviance (Original Idea)
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 04-19-2007 , 17:32   Re: Player Counter [Last Update: 04/19/07]
Reply With Quote #3

Instead of opening the vault each time, save it to a global.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 04-19-2007 , 17:37   Re: Player Counter [Last Update: 04/19/07]
Reply With Quote #4

Quote:
Originally Posted by Emp` View Post
Instead of opening the vault each time, save it to a global.
I'm not really sure how you do that...

Is it like
Code:
new vault public plugins_init() { // ... vault = nvault_open("blabla") }
Deviance is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 04-19-2007 , 18:36   Re: Player Counter [Last Update: 04/19/07]
Reply With Quote #5

yes.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 04-20-2007 , 05:58   Re: Player Counter [Last Update: 04/19/07]
Reply With Quote #6

Sounds pretty cool!
Good idea to have the players counted...
It may be interesting to know how many people have played on "my" server today and when does the most people have played!
GJ

greetz regalis
__________________
regalis is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 04-20-2007 , 08:38   Re: Player Counter [Last Update: 04/20/07]
Reply With Quote #7

Updated to 1.1
Deviance is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 04-20-2007 , 09:55   Re: Player Counter [Last Update: 04/20/07]
Reply With Quote #8

Updated to 1.2
Deviance is offline
jowy77
Member
Join Date: Nov 2006
Location: Vigo, Spain
Old 04-20-2007 , 14:32   Re: Player Counter [Last Update: 04/20/07]
Reply With Quote #9

Nice plugin !! ...adds to support translation please xDD


+ KARMA




Sorry my english ...
__________________
Sorry my English



Last edited by jowy77; 04-20-2007 at 14:34.
jowy77 is offline
chuck
BANNED
Join Date: Mar 2006
Old 04-20-2007 , 14:50   Re: Player Counter [Last Update: 04/20/07]
Reply With Quote #10

great idea!
chuck is offline
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 02:03.


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