28.01.2018, 14:26
I'm have this line for connect mysql:
I'm definited DB_Connect
The SQL_Host.SQL_user,etc... is:
And my error is:
This Line:
Please help!
EDIT: I'm have on gamemodeexit:
And in this line i'm have tag mismach error.
Код:
DB_Connect = mysql_connect(SQL_Host, SQL_User, SQL_Pass, SQL_DB);
The SQL_Host.SQL_user,etc... is:
Код:
#define localhost true #if localhost == true #define SQL_Host "localhost" #define SQL_User "root" #define SQL_DB "tbr" #define SQL_Pass "" #else #define SQL_Host "127.0.0.1" #define SQL_User "server_472" #define SQL_DB "server_472_mata" #define SQL_Pass "07062003" #endif
Код:
C:\Users\Sorin\Desktop\Gamemode De La 0\gamemodes\Kernel.pwn(243) : warning 213: tag mismatch
Код:
DB_Connect = mysql_connect(SQL_Host, SQL_User, SQL_Pass, SQL_DB);
EDIT: I'm have on gamemodeexit:
Код:
mysql_close(DB_Connect);