22.12.2015, 23:33
pawn Код:
forward OnHouseStripHouseData();
public OnHouseStripHouseData()
{
new id,model,rows = cache_num_rows(); // get number of rows in the result
for(new i=0; i < rows; i++)
{
id = cache_get_field_content_int(i, "ID");
model = cache_get_field_content_int(i, "Model");
printf("%d|%d", id, model);
}
return 1;
}