07.08.2018, 21:47
Ok now saving works. Getting now sql syntax error here:
RegisterDate and RegisterIP doesn't get saved.
pawn Код:
new query[128];
format(query, sizeof(query), "UPDATE `players` SET `RegisterDate` = '%s', `RegisterIP` = '%s', `LastLogin` = '%s' WHERE `username` = '%s'", ReturnDate(), ReturnPlayerIp(playerid), ReturnDate(), Player[playerid][Name]);
mysql_tquery(g_SQL, query);