23.06.2012, 20:07
yes format expects a string as the first argument
pawn Код:
new Query[128];
new DBResult:qresult;
qresult = db_query(Database,"SELECT * FROM `HOUSES`");
format(Query,sizeof(Query),"%d", db_num_rows(qresult));