27.02.2013, 17:56
Try:
pawn Код:
forward This();
public This() {
new rows, fields, tmp[32];
cache_get_data(rows, fields, dbhandle);
Debug("Rows %d, fields %d", rows, fields);
for(new i = 0; i < rows; ++i) {
cache_get_row(i, 0, tmp, dbhandle, sizeof(tmp));
Debug("Id %d i %d", strval(tmp), i);
}
}