A not working command
#1

Any ideas why it shows me 0 when the accounts are not 0 ?

pawn Код:
CMD:accounts(playerid, params[])
{
    new query[128], string[128];
    format(query, sizeof(query), "SELECT COUNT(`ID`) FROM `players`");
    mysql_function_query(IMDb, query, false, "", "");
    format(string, sizeof(string),"» Total accounts: %i «", mysql_num_rows());
    SendClientMessage(playerid, -1, string);
    return 1;
}
Reply


Messages In This Thread
A not working command - by x96664 - 27.09.2013, 23:23
Re: A not working command - by Ayumi - 27.09.2013, 23:49
Re: A not working command - by x96664 - 27.09.2013, 23:57
Re: A not working command - by SuperViper - 28.09.2013, 00:47
Re: A not working command - by x96664 - 28.09.2013, 10:18
Re: A not working command - by Sweez - 28.09.2013, 15:17
Re: A not working command - by x96664 - 28.09.2013, 15:20
Re: A not working command - by x96664 - 29.09.2013, 11:25
Re: A not working command - by Konstantinos - 29.09.2013, 11:34
Re: A not working command - by x96664 - 29.09.2013, 13:43

Forum Jump:


Users browsing this thread: 1 Guest(s)