Time Played Help - 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: Time Played Help (
/showthread.php?tid=567347)
Time Played Help -
GlaL - 13.03.2015
Hello, please i want callback for Time played, /stats command textdraw writen on it the time played ..
Re: Time Played Help -
RajatPawar - 13.03.2015
There's a very helpful function called "
Network_GetConnectedTime" which returns the connected time in milliseconds.
Get this time when the player disconnects. You need to have a saving system in place, to which you can ADD this time.