View Single Post
thecount
Veteran Member
Join Date: Jul 2013
Old 07-03-2015 , 13:25   Re: Time played for all users
Reply With Quote #14

Quote:
Originally Posted by Schpraaankiii View Post
Player time tracker seam to require you manually adding players to track their time. I want all players to be tracked from the moment they connect. I only want time tracking to MySQL, maybe some command like sm_timepayed <player> or something.
Quote:
Originally Posted by crazydog View Post
Commands:
sm_ptt_add <Client Name>: Adds a client to the database to be tracked
sm_ptt_gettime <Client Name>: Prints target's current time played (hh:mm:ss) into console.
sm_mytime: Prints your time into chat. (Alternatively, say !mytime).
PHP Code:
#include <sourcemod>
public OnClientPutInServer(client){ ServerCommand("sm_ptt_add \"%N\""client); } 

Last edited by thecount; 07-03-2015 at 13:29.
thecount is offline