MySql connect problem
#1

I connected the mysql in my host, the server is running but when I join in game I get a message with mysql error and that I missed a step, if I disable that message, nothing will happen next...

Код:
public loginCheck(playerid)
{
	// This function will be used to see if the query times out.

	// Ban check step
	if(GetPVarInt(playerid, "bcs") == 0)
	{
	    // If it's 0, we have a problem.
	    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "MySQL problem!", "You missed a step! Here's a list of the potential causes:\n\n- the MySQL connection details are invalid\n- the database dump wasn't imported correctly\n- an unexpected error ocurred\n\nPlease revisit the installation instructions.", "OK", "");
	}
	return 1;
}
Код:
forward loginCheck(playerid);
Код:
SetTimerEx("loginCheck", 5000, false, "d", playerid);
How to fix.. I want the register/login screen to show..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)