MySQL Loading.. Question.
#1

Ok. So I have
pawn Код:
new tmp[128];
            format(tmp,sizeof(tmp),"SELECT * FROM `users` WHERE `username`=LOWER('%s')",PlayerName(playerid));
            mysql_free_result();
            mysql_query(tmp);
            mysql_store_result();
            mysql_fetch_row_format(tmp,"|");
            printf(tmp);
            sscanf(tmp,"e<p<|>iiiiiiiiiiiiiiiiiffiiis[50]fffiiiiiiiiiiiis[50]iiiiiiiiii>",PlayerInfo[playerid]);
            mysql_free_result();
And it DOES print
Код:
0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.000000|0.000000|0|0|0||1480.389526|-1771.293945|18.795755|0|0|0|0|0|0|0|0|0|0|0|0||0|0|0|0|0|0|0|0|0|-1|Shiro_Michi|****(PASS)|10
But it doesn't seem to GO into the players stats.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)