Quote:
Originally Posted by DaniceMcHarley
pawn Код:
SQL_SaveLicenses(playerid) { if (!PlayerData[playerid][pLogged]) return 0;
static query[768]; format(query, sizeof(query), "UPDATE `licenses` SET `licID` = '%d', `ownerID` = '%d', `issuerID` = '%d', `issueDate` = '%s' WHERE `ID` = '%d'", LicenseData[playerid][licID], LicenseData[playerid][ownerID], LicenseData[targetid][issuerID], LicenseData[playerid][issueDate] }; // ----> What is this semicolon? Remove it. mysql_function_query(g_iHandle, query, false, "", ""); return 1; }
|
Nope, he should change the curly bracket to a round bracket (because it's meant to close the format function..).