Quote:
Originally Posted by DarrenReeder
I am trying to use this feature:
pawn Код:
new string[100]; format(string, sizeof(string), "SELECT * FROM accounts WHERE Username='Darren'");
if(mysql_function_query(1, string, true, "Tester", "ss", "1", "1")) print("yes"); else print("no"); return 1; }
forward Tester(playerid[], number[]); public Tester(playerid[], number[]){ print("Number:"); return 1; }
And what is happening, is the mysql_function_query is return True and saying "yes" in the console. But the "tester" function doesn't get called at all! anyone know why this might be happening?
|
Try without cache (3th parameter set to false)
If its dont work, enable mysql debug (in OnGameModeInit add: mysql_debug(true); ) and check the errors.