MYSQL String Problem
#6

That's the problem, solve:
pawn Код:
new name[MAX_PLAYER_NAME];
format(string, sizeof(string), "INSERT INTO `accounts` (Name, Password) VALUES ('%s', '%s')", GetPlayerName(playerid, name, sizeof(name)), HashedPW);
Wrong GetPlayerName format..
You forgot the size of variable (name) and sizeof it
Reply


Messages In This Thread
MYSQL String Problem - by Cole_William - 22.07.2014, 19:06
Re: MYSQL String Problem - by Sawalha - 22.07.2014, 19:11
Re: MYSQL String Problem - by Cole_William - 22.07.2014, 19:13
Re: MYSQL String Problem - by nmader - 22.07.2014, 19:15
Re: MYSQL String Problem - by arlindi - 22.07.2014, 19:15
Re: MYSQL String Problem - by Sawalha - 22.07.2014, 19:17
Re: MYSQL String Problem - by Cole_William - 22.07.2014, 19:18
Re: MYSQL String Problem - by Cole_William - 22.07.2014, 19:21
Re: MYSQL String Problem - by Cole_William - 22.07.2014, 19:35
Re: MYSQL String Problem - by driftpower - 22.07.2014, 20:06

Forum Jump:


Users browsing this thread: 1 Guest(s)