sscanf2 error
#1

Hey,

Currently i am using sscanf on a MySQL server using the following code to order my player info.

pawn Код:
sscanf(szResult, "e<p<|>s[25]s[30]ddddddddddddddffdddd", PlayerInfo[extraid]);
That is the only sscanf line i use, the rest are all j_sscanf used from the jBan.inc.

Is there anything wrong with the above coding?

Thanks

-Michael

ERROR:[23:46:55] sscanf error: Unclosed specifier parameters.
Reply
#2

When I look at that, the first thought that comes to my head with that error is that you're missing a ">" at the end of your sscanf line to close the enum. Try this:

pawn Код:
sscanf(szResult, "e<p<|>s[25]s[30]ddddddddddddddffdddd>", PlayerInfo[extraid]);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)