Mysql bugs
#3

You need to split them, example:
pawn Код:
new mysql[128];
format(mysql, sizeof(mysql), "UPDATE `Accounts` SET `AdminLevel`='%i'",PlayerData); // Your ENUM configuration.
mysql_query(mysql); // Use yours ...
format(mysql, sizeof(mysql), "UPDATE `Accounts` SET `Money`='%i'",PlayerData); // Your ENUM configuration.
mysql_query(mysql); // Use yours ...
format(mysql, sizeof(mysql), "UPDATE `Accounts` SET `Bank`='%i'",PlayerData); // Your ENUM configuration.
mysql_query(query); // Use yours ...
format(mysql, sizeof(mysql), "UPDATE `Accounts` SET `Faction`='%i'",PlayerData);  // Your ENUM configuration.
mysql_query(mysql); // Use yours ...
And more and more...
Reply


Messages In This Thread
Mysql bugs - by Ice-cup - 02.01.2011, 13:58
Re: Mysql bugs - by Kaylux - 02.01.2011, 14:02
Re: Mysql bugs - by Toreno - 02.01.2011, 14:06
Re: Mysql bugs - by BlackBank - 02.01.2011, 14:06
Re: Mysql bugs - by Kaylux - 02.01.2011, 14:07
Re: Mysql bugs - by Ice-cup - 02.01.2011, 14:08
Re: Mysql bugs - by Toreno - 02.01.2011, 14:11
Re: Mysql bugs - by Kaylux - 02.01.2011, 14:12
Re: Mysql bugs - by Ice-cup - 02.01.2011, 14:15
Re: Mysql bugs - by Kaylux - 02.01.2011, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)