26.08.2010, 21:46
Well SSCANF enum is returning weirdd numbers, but in the mysql_log its retrieving the info correctly.
I had it print the values, and it was like.. 78,79, 80, then up.. Going in order like that.
pawn Код:
enum pInfos
{
Info1, // ID
Info2[24], //username
Info3[50], //PW
Info4,
Info5,
Info6,
Info7,
Info8,
Info9,
Info10,
Info11,
Info12[30],
Info13,
Info14,
Info15,
Info16[128]
};
new store[pInfos];
//sscanf line
new row[500];
sscanf(row, "p<|>e<ds[100]s[100]ddddddds[100]dds[100]ds[100]>", store[Info1],store[Info2],store[Info3],store[Info4],store[Info5],store[Info6],store[Info7],store[Info8],store[Info9],store[Info10],store[Info11],store[Info12],store[Info13],store[Info14],store[Info15],store[Info16]);
I had it print the values, and it was like.. 78,79, 80, then up.. Going in order like that.