SA-MP Forums Archive
Registration date and playing hours doesn't work on login. - 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: Registration date and playing hours doesn't work on login. (/showthread.php?tid=613892)



Registration date and playing hours doesn't work on login. - Shady - 01.08.2016

Hello,

I made my own /stats command and added registration date, last login and playing hours. Everything is okay and fine, but when I attempt to add it on the login. (If played successfully logged in, then he'd receive these informations) - it doesn't work and some of the data disappears. String is 700, so I don't think that there is a problem from it.

Codes:
pawn Код:
removed
Results when logging in - doesn't work:


Results from /stats - works:



Re: Registration date and playing hours doesn't work on login. - Luicy. - 01.08.2016

Can we see /stats


Re: Registration date and playing hours doesn't work on login. - Shady - 01.08.2016

Here, Actually the same codes.

P.S: I defined everything like Day Month Year, etc just like Stats.

pawn Код:
removed



Re: Registration date and playing hours doesn't work on login. - Shinja - 02.08.2016

Show us where you save/load the info, and about last log seems to be not saving
Actually at each ShowPlayerStats you just gettime and show it

And, string 700 thats alot dude tho


Re: Registration date and playing hours doesn't work on login. - Shady - 02.08.2016

I fixed this issue, thanks for help @Gammix.