05.02.2013, 12:48
(
Last edited by Jstylezzz; 05/02/2013 at 04:32 PM.
)
I'm afraid I don't get it :$
The end of the specifier, is that like "e<p<|>s[32]s[32] >", one char before the > ?
EDIT: Allright, I got rid of the overflow error, but every value I print for example the email variable, gives (null) as result..
I have no idea what the problem is here
This is my current code, like I said, I increased some sizes(i know, it's way too much, but I just did this for the debugging process).
The end of the specifier, is that like "e<p<|>s[32]s[32] >", one char before the > ?
EDIT: Allright, I got rid of the overflow error, but every value I print for example the email variable, gives (null) as result..
I have no idea what the problem is here
This is my current code, like I said, I increased some sizes(i know, it's way too much, but I just did this for the debugging process).
pawn Code:
new pName[24],Query[1000];
GetPlayerName(playerid,pName,24);
format(Query, sizeof(Query), "SELECT * FROM `Users` WHERE `Username` = '%s' ",pName);
mysql_query(Query);
mysql_store_result();
mysql_fetch_row_format(Query, "|");
sscanf(Query, "e<p<|>s[128]s[128]dddddfffddds[128]dddddddddddddddddddddddddddddddddddddddddddds[10]s[20]ddd>", PInfo[playerid]);
mysql_free_result();