Login/Register MySQL not working
#2

Put this under mysql_query in OnPlayerConnect
pawn Код:
printf("User %d looked up in database with response %d", playerid, mysql_errno());
After you connect this will pop up in server console - if the response is diffrent than 0, then query returned an error.

On a sidenote: You've forgotten about executing query in login dialog.
Reply


Messages In This Thread
Login/Register MySQL not working - by SEnergy - 27.07.2012, 09:59
Re: Login/Register MySQL not working - by Misiur - 27.07.2012, 10:10
Re: Login/Register MySQL not working - by SEnergy - 27.07.2012, 10:17
Re: Login/Register MySQL not working - by Misiur - 27.07.2012, 10:30
Re: Login/Register MySQL not working - by SEnergy - 27.07.2012, 10:43
Re: Login/Register MySQL not working - by doreto - 27.07.2012, 11:22
Re: Login/Register MySQL not working - by SEnergy - 27.07.2012, 14:27

Forum Jump:


Users browsing this thread: 2 Guest(s)