SA-MP Forums Archive
Last login date - 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: Last login date (/showthread.php?tid=652320)



Last login date - Eripe - 08.04.2018

Hello, I would like to download the latest date to be able to read this code?

SAVE LAST LOGIN DATE

Код:
mysql_format(SQL_ID, query, sizeof query, "UPDATE kontagraczy SET ostatnio = NOW() WHERE uid = %i", pDane[playerid][UID]);
Here is the statistic command


Код HTML:
mysql_format(SQL_ID, query, sizeof query, "SELECT * FROM kontagraczy where ostatnio = %i%i%i(xd )WHERE uid = %i", pDane[playerid][UID]);
   mysql_tquery(SQL_ID, query);

	format(string,sizeof(string), "Ostatnio: {007dff}%02d:%02d:%02d ( Haha )",query);
	ShowPlayerDialog(playerid, Informacja, DIALOG_STYLE_MSGBOX, "{747474}Statystyki {007dff}Konta", string, "Zamknij", #);
Please, do not laugh at my combos, try to do as I can Haha