MySQL loads from the wrong column
#7

pawn Код:
new moneyquery[512];
    format(moneyquery,sizeof(moneyquery),"SELECT * FROM `users` WHERE `username` = '%s'",Name);
    mysql_query(moneyquery);
    mysql_store_result();
    sscanf(moneyquery,"p<|>e<ds[128]s[128]ds[128]dddddddd>",PlayerInfo);
    mysql_free_result();
    SetPlayerSkin(playerid,PlayerInfo[playerid][SkinID]);
    GivePlayerMoney(playerid, PlayerInfo[playerid][money]);
    return 1;
Reply


Messages In This Thread
MySQL loads from the wrong column - by dusk - 16.02.2013, 15:48
Re: MySQL loads from the wrong column - by dusk - 16.02.2013, 16:49
Re: MySQL loads from the wrong column - by Scenario - 16.02.2013, 16:57
Re: MySQL loads from the wrong column - by dusk - 16.02.2013, 17:03
Re: MySQL loads from the wrong column - by InfiniTy. - 16.02.2013, 17:05
Re: MySQL loads from the wrong column - by dusk - 16.02.2013, 17:11
Re: MySQL loads from the wrong column - by Michael@Belgium - 16.02.2013, 17:15
Re: MySQL loads from the wrong column - by ReV. - 16.02.2013, 17:15
Re: MySQL loads from the wrong column - by dusk - 16.02.2013, 17:17
Re: MySQL loads from the wrong column - by Michael@Belgium - 16.02.2013, 17:22

Forum Jump:


Users browsing this thread: 1 Guest(s)