Raised This Month: $51 Target: $400
 12% 

How can i make a plugin do measuring player time gameplay?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Obada8
Junior Member
Join Date: May 2016
Old 09-06-2018 , 06:23   How can i make a plugin do measuring player time gameplay?
Reply With Quote #1

Hi guys,

I need to script a plugin type message when player joining server, message say: Your gameplayer hour is 2 hour on our server.

I hope to find it here.

Thanks in advance.
Obada8 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 09-06-2018 , 07:44   Re: How can i make a plugin do measuring player time gameplay?
Reply With Quote #2

Create an array to store each player’s time or you can use KeyBalues to store this info. Use GetTime and FormatTime natives upon player connect and run a timer every here and now to compare the time stored with current time to set your markers.
__________________
Spirit_12 is offline
Reply



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 15:36.


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