Played time
#1

Hello
I have been surfing around sa-mp wiki and found one function

PHP код:
NetStats_GetConnectedTime 
How can I use that at my saving played time on server
I use playtime in hours(ex:PTScore:1(Hours)).
How to make that every hour it will add player PTScore +1 (or can I reset the time?)
(or do I have to do like:

PHP код:
new time NetStats_GetConnectedTime 1000;
If(
time == 3600000 || 7200000....) 
No timers PLEASE
Reply


Messages In This Thread
Played time - by kalanerik99 - 18.06.2015, 14:09
Re: Played time - by Gammix - 18.06.2015, 14:26
Re: Played time - by kalanerik99 - 19.06.2015, 12:51
Re: Played time - by rappy93 - 19.06.2015, 13:01
Re: Played time - by kalanerik99 - 19.06.2015, 13:07
Re: Played time - by rappy93 - 19.06.2015, 13:12
Re: Played time - by kalanerik99 - 19.06.2015, 14:33
Re: Played time - by Stanford - 19.06.2015, 15:58
Re: Played time - by Threshold - 19.06.2015, 16:24
Re: Played time - by kalanerik99 - 19.06.2015, 16:42

Forum Jump:


Users browsing this thread: 2 Guest(s)