07.10.2015, 14:00
PHP код:
CMD:printtotalacc(playerid, params[])
{
mysql_tquery(mConnectionHandle, "SELECT TotalAccounts FROM ServerStats", "PrintTotalAcc", "d", playerid);
return 1;
}
forward PrintTotalAcc(playerid);
public PrintTotalAcc(playerid)
{
printf("Total Accs: %d", cache_get_row_int(0, 0, mConnectionHandle));
return SendClientMessage(playerid, 0x00cc00FF, "Total accounts printed in server log!");
}