Posts: 99
Threads: 2
Joined: Dec 2010
Quote:
Originally Posted by EliranPesahov
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...
|
Theres actually no need to do that. I tested his code with what he gave with no errors. You don't need to do that many query's......