Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: (1064)
1. Maria DB (1064)
Witam. Co w tym zapytaniu jest ?le?

exports
["db_connect"]:query("INSERT INTO Blacklist(UserName, Serial, Reason, ToDate, Type) VALUES('"..getAccountName(getPlayerAccount(playerToBan)).."', '"..getPlayerSerial(playerToBan).."', '"..reason.."', datetime('now', 'localtime', '+"..toDate.." minute'), 1)"false)

Wywala:
Kod:


dbExec failed; (1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '('now', 'localtime', '+1 minute'), 1)' at line 1