Played time count - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Played time count (
/showthread.php?tid=387199)
Played time count -
x96664 - 23.10.2012
Hi, can somebody help to make a counter for played time of players on my server ? I know that it's better and easier to be made for MySQL but I have problems with it so is there any other way to make it ? I want just when player type /playedtime to see the hours and minutes played on my server.
Re: Played time count -
gtakillerIV - 23.10.2012
Store something like this in his user file:
HoursPlayed = 0
And make a timer that increases his HoursPlayed by 1 after an hour has passed.
About the minutes, you will need to do the same as above but make it for 1 minute.
Keep in mind that using alot of timers WILL slow down your server.
Re: Played time count -
x96664 - 23.10.2012
Can somebody do it for me ?
Re: Played time count -
gtakillerIV - 23.10.2012
Well you can request it here:
https://sampforum.blast.hk/showthread.php?tid=187229
Re: Played time count -
lorizz - 23.10.2012
are you ryder_ballaz? I'm TheLorizz
Re: Played time count -
x96664 - 29.10.2012
Quote:
Originally Posted by lorizz
are you ryder_ballaz? I'm TheLorizz
|
Yes I'm as you know now