22.12.2013, 14:46
Hi!
I get this error,when I tried making a user system with this tutorial: https://sampforum.blast.hk/showthread.php?tid=160971
error 017: undefined symbol "mysql_ping"
And for every mysql_query: error 035: argument type mismatch (argument 1)
Pls help me,thanks for your further help.
I get this error,when I tried making a user system with this tutorial: https://sampforum.blast.hk/showthread.php?tid=160971
error 017: undefined symbol "mysql_ping"
Код:
stock CheckMySQL() { if(mysql_ping() == -1) { mysql_connect(SQL_HOST, SQL_USER, SQL_DATA, SQL_PASS); } }
Код:
new string[128]; format(string, sizeof(string), "SELECT * FROM Jatekosok WHERE Nev = '%s'", account); mysql_query(string);