How to optimize this function?
#6

Код:
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; 
}
Reply


Messages In This Thread
How to optimize this function? - by liptakrazvan - 01.03.2018, 10:41
Re: How to optimize this function? - by liptakrazvan - 27.03.2018, 06:26
Re: How to optimize this function? - by ForCop - 27.03.2018, 09:07
Re: How to optimize this function? - by Sithis - 27.03.2018, 09:23
Re: How to optimize this function? - by liptakrazvan - 23.04.2018, 10:46
Re: How to optimize this function? - by UFF - 23.04.2018, 11:00
Re: How to optimize this function? - by Dayrion - 23.04.2018, 11:43

Forum Jump:


Users browsing this thread: 1 Guest(s)