[HELP]mysql_retrieve_row
#1

Normal code is:

Код:
                    while (mysql_retrieve_row())
					{
                        mysql_fetch_field_row(string, "Money"); GivePlayerMoney(playerid, strval(string));
                        mysql_fetch_field_row(string, "Score"); SetPlayerScore(playerid, strval(string));
                    }
                    mysql_free_result();
i definied:

Код:
#define GET_INT(%1,%2) 					mysql_fetch_field_row(tmp, %2);%1 = strval(tmp)
and the code..

Код:
                    while (mysql_retrieve_row())
					{
                        GET_INT(/* THIS  */???, "Money");
                        GET_INT(/* THIS */???, "Score");
                    }
                    mysql_free_result();
help please ?
Reply


Messages In This Thread
[HELP]mysql_retrieve_row - by TheBluec0de - 17.06.2012, 13:25
AW: [HELP]mysql_retrieve_row - by Nero_3D - 17.06.2012, 14:04

Forum Jump:


Users browsing this thread: 1 Guest(s)