How to optimize this function?
#3

Код:
public LoadBizz()   
{ 
    new PropertyString[256],locked[20]; //not used
    new bussines = cache_num_rows(); // add "new"
    for(new i = 1; i <= bussines; i++) 
    { 
        new b = i - 1; 
        cache_get_value_int(b, "ID", BizzInfo[i][bID]); 
        cache_get_value_int(b, "Owned", BizzInfo[i][bOwned]); 
        cache_get_value_name(b, "Owner", BizzInfo[i][bOwner], 130); 
        } 
    printf("[LOADING] %d businesses loaded.", bussines); 
    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)