23.04.2018, 11:00
Код:
public LoadBizz() { new rows = cache_num_rows(); if(rows) { new id; for(new i; i < rows; ++i) { id = cache_get_field_content_int(i, "ID"); cache_get_field_content(i, "Owned", BizzInfo[id][bOwned], .max_len = MAX_BUSINESS_NAME); cache_get_field_content(i, "Owner", BizzInfo[id][bOwner], 130); } printf("[LOADING] %d businesses loaded.", rows); } return true; }