Playerid Error
#3

Why bother creating another function?

pawn Код:
stock GetFromAccount(playerid, name[], obtaining[], holdingvar[])
{
    new Query[180];
    format(Query, sizeof(Query), "SELECT `%s` FROM `Users` WHERE `Name` = '%s'", obtaining, UserStats[playerid][Name]);
    mysql_query(Query);
    mysql_store_result();

    if(mysql_fetch_row(holdingvar) == 1)
    {
        mysql_free_result();
    }
    return 1;
}
Reply


Messages In This Thread
Playerid Error - by Anthonyx3' - 09.01.2011, 04:32
Re: Playerid Error - by Kwarde - 09.01.2011, 04:36
Re: Playerid Error - by California - 09.01.2011, 04:48
Re: Playerid Error - by Kwarde - 09.01.2011, 04:49

Forum Jump:


Users browsing this thread: 1 Guest(s)