Tag Mismatch
#4

pawn Код:
stock getPlayerSecret(playerid)
{
    new
        Query[ 128 ],
        DBResult: Result,
        pName[ MAX_PLAYER_NAME ],
        Res[ 50 ]
        ;
    GetPlayerName(playerid, pName, sizeof(pName));
    format(Query, sizeof(Query), "SELECT SQ FROM `Accounts` WHERE `NAME` = '%s' COLLATE NOCASE LIMIT 1;", pName);
    Result = db_query(DATABASE, Query);
    db_get_field_assoc(Result, "SQ", Res, sizeof(Res));
    db_free_result(Result);
    return Res;
}
Reply


Messages In This Thread
Tag Mismatch - by Healian - 19.08.2012, 23:19
Re: Tag Mismatch - by Healian - 19.08.2012, 23:47
Re: Tag Mismatch - by Shetch - 19.08.2012, 23:50
Re: Tag Mismatch - by Jefff - 19.08.2012, 23:54
Re: Tag Mismatch - by Healian - 19.08.2012, 23:54
Re: Tag Mismatch - by NinjaChicken - 19.08.2012, 23:56
Re: Tag Mismatch - by Healian - 19.08.2012, 23:57

Forum Jump:


Users browsing this thread: 2 Guest(s)