06.07.2012, 22:33
I am trying to use this feature:
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?
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;
}