Raised This Month: $ Target: $400
 0% 

How do i make a message appear to a player every 2 hours (his time spent on a server)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 10-15-2015 , 15:56   How do i make a message appear to a player every 2 hours (his time spent on a server)
Reply With Quote #1

*Title*

For example, I have a plugin that stores player's played time in seconds. How do I make a message appear to the player every 2 hours? I don't mean every 2 hours of the global server time, I mean his time.. the player's time. If he just joined, and plays for 2 hours, a message appears (client_print, doesn't matter), then he takes a break... next day he joins again and his time is 2 hours, because he spent two hours yesterday and left, then he plays another 2 hours and the message appears again...

How can I make this?
redivcram 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 22:06.


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