[MySQL]: You have an error in your SQL syntax
#6

I think this is it..

Код:
 );
	format(query, sizeof(query), "%s, 'Warnings' = '%d', 'Warn1' = '%s', 'Warn2' = '%s', 'MaskID' = '%d', 'FactionMod' = '%d', 'Capacity' = '%d' WHERE 'ID' = '%d'",
	    query,
	    PlayerData[playerid][pWarnings],
	    SQL_ReturnEscaped(PlayerData[playerid][pWarn1]),
	    SQL_ReturnEscaped(PlayerData[playerid][pWarn2]),
	    PlayerData[playerid][pMaskID],
	    PlayerData[playerid][pFactionMod],
	    PlayerData[playerid][pCapacity],
		PlayerData[playerid][pID]
	);
	mysql_function_query(g_iHandle, query, false, "", "");

	SQL_SaveAccessories(playerid);
	return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)