01.07.2016, 04:01
Why every time i use /gmx i can't back to login in my server?
Show my this errors in mysql.log
I'm using ultra-h host...
Код:
CMD:gmx(playerid) {
new string[80];
format(string, sizeof(string), "AdmCmd: %s started a GMX.", PlayerName(playerid) );
SendClientMessageToAll(COLOR_LIGHTRED, string);
SetTimer("OnGMX", 5000,1);
return 1;
}
Код:
public OnGMX() {
SaveHouses();
SaveORGs();
SaveServer();
mysql_close(); // vai fechar a conexгo com o mysql (entгo nгo vai salvar os players qnd der o GMX)
SendRconCommand("gmx");
}
Код:
[23:56:36] [ERROR] mysql_format - invalid connection handle (id: 1) [23:56:36] [ERROR] mysql_pquery - invalid connection handle (id: 1) [23:56:36] [ERROR] mysql_format - invalid connection handle (id: 1) [23:56:36] [ERROR] mysql_pquery - invalid connection handle (id: 1) [23:56:36] [ERROR] mysql_format - invalid connection handle (id: 1) [23:56:36] [ERROR] mysql_pquery - invalid connection handle (id: 1) [23:56:36] [ERROR] mysql_format - invalid connection handle (id: 1) [23:56:36] [ERROR] mysql_pquery - invalid connection handle (id: 1) [23:56:36] [ERROR] mysql_format - invalid connection handle (id: 1) [23:56:36] [ERROR] mysql_pquery - invalid connection handle (id: 1) [23:56:36] [ERROR] mysql_format - invalid connection handle (id: 1) [23:56:36] [ERROR] mysql_pquery - invalid connection handle (id: 1) [23:56:36] [ERROR] mysql_close - invalid connection handle (id: 1) [23:56:48] [ERROR] CMySQLConnection::Connect - (error #1226) User 'port_2538' has exceeded the 'max_user_connections' resource (current value: 5) [23:56:48] [ERROR] CMySQLConnection::Connect - (error #1226) User 'port_2538' has exceeded the 'max_user_connections' resource (current value: 5)


