05.02.2014, 10:39
The size is probably too small to store the whole query and it fails. Debug it:
pawn Код:
format(Query, sizeof(Query), "INSERT INTO `Bans` (Username, Admin, IP, Reason, Days, Banned, Time) VALUES ('%s', '%s', '%s', '%s', '%d', 1, '%s')", pName, aName, IP, Reason, (CTS+gettime()), InsertTimeStamp());
mysql_function_query(mysqlc, Query, false, "", "");
print(Query);