17.09.2015, 01:10
Quote:
I believe you are messing a " ' ", colored red in the line.
Code:
format(Query,sizeof(Query),"INSERT INTO `Users` (Username,Password,Money) VALUES ('%s','%s','0')",GetPlayerName(playerid),EscapedText); If you would post the whole function or callback I believe I will be able to help. |
Code:
format(Query,sizeof(Query),"INSERT INTO `Users` (Username,Password,Money) VALUES ('%s', '%s', '0')",GetPlayerName(playerid),EscapedText);
Code:
GetPlayerName(playerid, PlayerNameSQL, sizeof(PlayerNameSQL)); format(Query,sizeof(Query),"INSERT INTO `Users` (Username,Password,Money) VALUES ('%s', '%s', '0')",PlayerNameSQL,EscapedText);