MySQL problem
#8

Quote:
Originally Posted by Alby Fire
View Post
pawn Code:
public LoadStuff()
{
    new
        Float:values[6];
    for(new i = 0; i < MAX_MISSIONS; i++)
    {
        new Query[128];
        format(Query, sizeof(Query), "SELECT * FROM `stuff` WHERE `Test` = '%i' ", i);
        mysql_query(Query);
        mysql_store_result();
        sscanf(Query, "p<|>ffffff", values);
        minfo[i][x1] = values[0];
        minfo[i][y1] = values[1];
        minfo[i][z1] = values[2];
        minfo[i][x2] = values[3];
        minfo[i][y2] = values[4];
        minfo[i][z2] = values[5];
        mysql_free_result();
    }
    Loadmstuff();
    return 1;
}
It's still 0.000000

EDIT: Calg00ne:
printf("%d.",Query); = 83
Reply


Messages In This Thread
MySQL problem - by Exxious - 10.04.2011, 13:49
Re: MySQL problem - by Calgon - 10.04.2011, 14:12
Re: MySQL problem - by Exxious - 10.04.2011, 14:20
Re: MySQL problem - by royal_king - 10.04.2011, 14:36
Re: MySQL problem - by Calgon - 10.04.2011, 14:40
Re: MySQL problem - by Alby Fire - 10.04.2011, 14:40
Re: MySQL problem - by Calgon - 10.04.2011, 14:44
Re: MySQL problem - by Exxious - 10.04.2011, 14:44
Re: MySQL problem - by JaTochNietDan - 10.04.2011, 14:45
Re: MySQL problem - by Calgon - 10.04.2011, 14:54

Forum Jump:


Users browsing this thread: 1 Guest(s)