22.12.2012, 12:25
Remember that there is other people who might have the same issue as you and looks at this topic, not finding a solution, therefore, you should post the solution if you've solved it.
This is the solution for people who might have the same problem:
The solution is to add a parenthese between the closing bracket and the semicolon at UserStats[playerid][ID]);.
This is the solution for people who might have the same problem:
pawn Code:
format(query,sizeof(query), "SELECT * FROM `accounts` WHERE `id` = %d",UserStats[playerid][ID]);
mysql_function_query(mysqlconnect, query, true, "OnAccountLoad", "d", playerid);