06.03.2017, 23:22
It's quite difficult to read non-english scripts due to well... them not being in English.
You're using threaded queries. I suppose you don't know how they do work.
There's "OnQueryFinish" which is a public function which is called once that query is completed. That's where you should check if the password is correct or wrong.
And why would you possibly only return 1; in PassValida(playerid, cadena[]). If that is your function for validating passwords, it always returns "true"
Learn to do threaded queries or go back to MySQL R6.
You're using threaded queries. I suppose you don't know how they do work.
Код:
mysql_function_query(ConexionDB, Query, true, "OnQueryFinish", "ii", 0, playerid);
And why would you possibly only return 1; in PassValida(playerid, cadena[]). If that is your function for validating passwords, it always returns "true"
Learn to do threaded queries or go back to MySQL R6.