ban command problem
#5

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);
Reply


Messages In This Thread
ban command problem - by Face9000 - 05.02.2014, 10:15
Re: ban command problem - by Konstantinos - 05.02.2014, 10:28
Re: ban command problem - by Face9000 - 05.02.2014, 10:32
Re: ban command problem - by RajatPawar - 05.02.2014, 10:36
Re: ban command problem - by Konstantinos - 05.02.2014, 10:39
Re: ban command problem - by Face9000 - 05.02.2014, 10:48
Re: ban command problem - by CuervO - 05.02.2014, 11:32
Re: ban command problem - by Face9000 - 05.02.2014, 18:04

Forum Jump:


Users browsing this thread: 3 Guest(s)