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

Player Activity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Statistical       
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 03-08-2020 , 00:24   Player Activity
Reply With Quote #1

Player Activity saves player's total playtime on a database for statistical purposes.

Commands:
say /activity - displays current playtime and all time activity
amx_activity - shows current players' activity, [steamid] for search (flag: m) - displays all current players' all time activity


Cvar:
activity_search_limit - default '500'
Modifies the search limit. If you wish to remove the limit set the cvar to '0'


API:
_get_user_time(id) - return player's all time activity
_get_user_time_timestamp(id) - return player's last seen

* Plugin uses nVault Utility by bugsy
https://forums.alliedmods.net/showthread.php?t=139584

* Player Activity available on GitHub:
https://github.com/CrXane/PlayerActivity
__________________

Last edited by Relaxing; 07-10-2020 at 13:03.
Relaxing is offline
 



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 17:35.


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