Very Weird issue with " expected token: ",", but found ";""
#3

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:

pawn Code:
format(query,sizeof(query), "SELECT * FROM `accounts` WHERE `id` = %d",UserStats[playerid][ID]);
mysql_function_query(mysqlconnect, query, true, "OnAccountLoad", "d", playerid);
The solution is to add a parenthese between the closing bracket and the semicolon at UserStats[playerid][ID]);.
Reply


Messages In This Thread
Very Weird issue with " expected token: ",", but found ";"" - by tuuker - 22.12.2012, 10:15
Re: Very Weird issue with " expected token: ",", but found ";"" - by tuuker - 22.12.2012, 10:18
Re: Very Weird issue with " expected token: ",", but found ";"" - by SKAzini - 22.12.2012, 12:25
Re: Very Weird issue with " expected token: ",", but found ";"" - by Babul - 22.12.2012, 12:32

Forum Jump:


Users browsing this thread: 5 Guest(s)