Closed loneliplay closed 5 years ago
Hey, can you put your code in triple backticks?
If you don't know how please read this: https://help.github.com/en/articles/basic-writing-and-formatting-syntax#quoting-code
On Sun, Apr 14, 2019 at 12:54 PM loneliplay notifications@github.com wrote:
I am using 39-6 version.
format(qString, sizeof(qString), "UPDATEplayersSETname= '%s',password= '%s',money= '%d',admin= '%d',gruz= '%d' WHEREid` = '%d'", Player[playerid][pName], Player[playerid][pPassword], Player[playerid][pMoney], Player[playerid][pAdmin], Player[playerid][pGruz], Player[playerid][pID]);
mysql_function_query(DBconnectID, qString, false, "", "");`
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pBlueG/SA-MP-MySQL/issues/211, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx8xm4VtkgRfgsmoP2YNhUELFR17Q-6ks5vgwjQgaJpZM4cujAs .
Hey, can you put your code in triple backticks?
If you don't know how please read this: https://help.github.com/en/articles/basic-writing-and-formatting-syntax#quoting-code
On Sun, Apr 14, 2019 at 2:57 PM Jeroen de Neef jeroen52@gmail.com wrote:
Hey, can you put your code in triple backticks?
If you don't know how please read this: https://help.github.com/en/articles/basic-writing-and-formatting-syntax#quoting-code
On Sun, Apr 14, 2019 at 12:54 PM loneliplay notifications@github.com wrote:
I am using 39-6 version.
format(qString, sizeof(qString), "UPDATEplayersSETname= '%s',password= '%s',money= '%d',admin= '%d',gruz= '%d' WHEREid` = '%d'", Player[playerid][pName], Player[playerid][pPassword], Player[playerid][pMoney], Player[playerid][pAdmin], Player[playerid][pGruz], Player[playerid][pID]);
mysql_function_query(DBconnectID, qString, false, "", "");`
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pBlueG/SA-MP-MySQL/issues/211, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx8xm4VtkgRfgsmoP2YNhUELFR17Q-6ks5vgwjQgaJpZM4cujAs .
format(qString, sizeof(qString), "UPDATE `players` SET `name` = '%s', `password` = '%s', `money` = '%d', `admin` = '%d', `gruz` = '%d' WHERE `id` = '%d'", Player[playerid][pName], Player[playerid][pPassword], Player[playerid][pMoney], Player[playerid][pAdmin], Player[playerid][pGruz], Player[playerid][pID]);
mysql_function_query(DBconnectID, qString, false, "", "");
return 1;
Hey, can you put your code in triple backticks? If you don't know how please read this: https://help.github.com/en/articles/basic-writing-and-formatting-syntax#quoting-code … On Sun, Apr 14, 2019 at 12:54 PM loneliplay @.***> wrote: I am using 39-6 version. format(qString, sizeof(qString), "UPDATEplayersSETname= '%s',password= '%s',money= '%d',admin= '%d',gruz= '%d' WHEREid
= '%d'", Player[playerid][pName], Player[playerid][pPassword], Player[playerid][pMoney], Player[playerid][pAdmin], Player[playerid][pGruz], Player[playerid][pID]); mysql_function_query(DBconnectID, qString, false, "", "");
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#211>, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx8xm4VtkgRfgsmoP2YNhUELFR17Q-6ks5vgwjQgaJpZM4cujAs . up
This is not an error of the plugin, is an error in your query syntax.
UPDATE players SET name= '%s',password= '%s',money= %d, admin= %d, gruz= %d WHERE id = %d
Next time you can check the mysql_log file.
This is not an error of the plugin, is an error in your query syntax.
UPDATE players SET name= '%s',password= '%s',money= %d, admin= %d, gruz= %d WHERE id = %d
Next time you can check the mysql_log file.
Don't help
Check the MySQL plugin log file for any errors or warnings.
I am using 39-6 version.
format(qString, sizeof(qString), "UPDATE
playersSET
name= '%s',
password= '%s',
money= '%d',
admin= '%d',
gruz= '%d' WHERE
id` = '%d'", Player[playerid][pName], Player[playerid][pPassword], Player[playerid][pMoney], Player[playerid][pAdmin], Player[playerid][pGruz], Player[playerid][pID]);mysql_function_query(DBconnectID, qString, false, "", "");`