09.05.2015, 14:04
Okay so when I comment the line with SaveBusinesses, it's not crashing. I've also done this:
pawn Код:
mysql_format(mysql, query, sizeof(query), "UPDATE `businesses` SET `Type`='%d' WHERE `ID`='%d'",\
BizInfo[i][Type], BizInfo[i][ID]);
mysql_tquery(mysql, query, "", ""); // when this is in a comment, it's not crashing also