27.10.2015, 17:51
How come everytime i compile it gives me error on this line?
The error is
Код:
stock ConnectMySQL() { dbHandle = mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS); // mysql_debug(1); // if(mysql_ping() == -1) { printf("Failed to connect to MySQL !"); } ---> else { printf("Connected to MySQL !"); } return 1; }
Код:
C:\Users\YakupMalikDavut\Desktop\lsrp\gamemodes\rprp.pwn(930) : error 029: invalid expression, assumed zero