Played Time
2 Attachment(s)
Played Time v1.3 [IMG]http://img183.**************/img183/7858/playedtimems6.png[/IMG] Author: Alka; Version: v1.3;
-With this plugin players can know how much they stay on a server & current time with one command. -The thime can show in HUD or in chat message controled by Cvar. -In message is show the "current played time","total played" time and current-time. -Admins can know played time of a player. -Played time is shown in minutes. -The time is store in "data/Vault folder" and when the player connects his total played time is loaded!(New and Improved). -Original plugin use IP to store vaultdata.If you want to use Authid just use "played_time_authid"! -Have a Prune function to delete vaultdata old than "x" time. -Top15 for TotalPlayedTime.(*Only for online players). (Note:TotalPlayedTime is show in Chat and admin command.)
/pttop15 - Top15 for TotalPlayedTime.( * )
-First release. -Code optimized by arkshine. v1.1 -Now plugin use nvault to store total played time. -Fixed chat bug. v1.2 -Changed Vault functions to nVault(nvault are faster so it shouldn't make any lag at all) v1.3 -Added Prune function. -Added Top15 for TotalPlayedTime.(Only for online players).
(Note:If you don't want to store total played time just comment this line): Code:
#define NVAULT 1.Uncomment this line: Code:
//#define PRUNE 2.Set prune time(in seconds): Code:
#define PRUNE_TIME 2592000
Deviance - nVault functions. XxAvalanchexX |
Re: Played Time
Would it be possible to also add total played time using MySQL or nVault?
|
Re: Played Time
Quote:
|
Re: Played Time
then what is the command for players?
|
Re: Played Time
@vvq125 - Yeah....would be nice....Maybe i do this :) Thanks....
@mp5ser - I updated the main post! Command: !ptime :wink: |
Re: Played Time
Quote:
What is the point of having 2 cvars if they both can't be enabled? Try putting it into one cvar. |
Re: Played Time
amx_ptinchat is to show message in Chat, & amx_ptinhud is to show message in HUD,can't be both "1",or use chat messages or Hud! :wink:
|
Re: Played Time
It means, I think :
amx_tdmode <0|1> : 0 = chat only ; 1 = Hud only |
Re: Played Time
now i get the point. :P thanks...
Updated |
Re: Played Time
I don't understand why you've done that :
Code:
if (timep==1) |
All times are GMT -4. The time now is 06:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.