SQLite help!
#6

Hmm, weird. Debug your code and let's see the output.

pawn Код:
if(db_num_rows(Result) == 1)
{
    print("DEBUG: Rows found (Result)");
    db_get_field_assoc(Result, "ADMIN", Field, 30);
    PlayerInfo[playerid][Admin] = strval(Field);
    printf("DEBUG: Admin = %d", PlayerInfo[playerid][Admin]);
    // blabla..
and show us what does it print.
Reply


Messages In This Thread
SQLite help! - by Danijel. - 06.07.2013, 15:28
Re: SQLite help! - by Misiur - 06.07.2013, 16:42
Re: SQLite help! - by Danijel. - 06.07.2013, 16:58
Re: SQLite help! - by Konstantinos - 06.07.2013, 17:11
Re: SQLite help! - by Danijel. - 06.07.2013, 18:01
Re: SQLite help! - by Konstantinos - 06.07.2013, 18:09
Re: SQLite help! - by Danijel. - 06.07.2013, 18:19
Re: SQLite help! - by Konstantinos - 06.07.2013, 19:28
Re: SQLite help! - by Danijel. - 06.07.2013, 20:30
Re: SQLite help! - by Konstantinos - 06.07.2013, 22:08

Forum Jump:


Users browsing this thread: 1 Guest(s)