Mysql Problem!
#2

pawn Код:
public CheckQuery1(playerid)
{
    static bool:OneTime;
    if(!OneTime)
    {
        OneTime = true;
        mysql_tquery(mysql_db, "SELECT * FROM players", "CheckQuery1", "i", playerid);
        return 1;
    }

    new string[60];
    //CheckQuery1();
    //printf("Number of Accounts: %d.", cache_get_row_count());
    format(string, sizeof(string), "Number of Accounts: %d.", cache_get_row_count());
    SendClientMessage(playerid, COLOR_RED, string);
    OneTime = false;
    return 1;
}
Reply


Messages In This Thread
Mysql Problem! - by Ugaustin - 31.10.2015, 14:05
Re: Mysql Problem! - by Jefff - 31.10.2015, 17:54
Re: Mysql Problem! - by Macluawn - 31.10.2015, 20:17
Re: Mysql Problem! - by PrO.GameR - 01.11.2015, 08:55

Forum Jump:


Users browsing this thread: 2 Guest(s)