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.)
amx_pt_mod (Default 1) -Message type(0=Plugin Off , 1=Chat, 2=Hud)amx_playedtime "#name" - See (total)played time of a player.!ptime - See (total)played time & current time.
/pttop15 - Top15 for TotalPlayedTime.( * )v1.0
-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).nVault - If you want to store total played time.
(Note:If you don't want to store total played time just comment this line):
Prune Function:
1.Uncomment this line:
2.Set prune time(
in seconds):
Code:
#define PRUNE_TIME 2592000
arkshine - Optimized version.
Deviance - nVault functions.
XxAvalanchexX