Connection problems with MySQL
#1

Not work.
Reply
#2

Can you help me?
Reply
#3

It would not be logical to sign?
Reply
#4

Hi,
Do you reset your player variables like loggedin @ Onplayerdisconnect or connect?
Reply
#5

No..
Reply
#6

I created a callback to reset my variables to disconnect the player, but nothing happens:

pawn Код:
public resetvariables(playerid)
{
    Player_logged[playerid] = 0;
    Player_have_comptes[playerid] = 0;
    Player_tentative_pass[playerid] = 0;
    Player_first_connect[playerid] = 0;
    return 1;
}
OnPlayerDisconnect

pawn Код:
resetvariables(playerid);
Reply
#7

Now it's not work.....
Reply
#8

An error has occured. (Error ID: 2006, MySQL server has gone away) in my debug.txt
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)