ReturnNextunused.....
#1

Hello. I've made this:

pawn Код:
stock ReturnNextUnusedBankID()
{
    new bank[64];
    for(new b=0; b<=MAX_BANKS; b++){
    format(bank, sizeof(bank), "CLRP/Banks/%d", b);
    if(!dini_Exists(bank)) return b; }
    return 1;
}
But I want it to start at 1000000000 and go upwards. How to?
Reply


Messages In This Thread
ReturnNextunused..... - by introzen - 18.12.2010, 10:30
Re: ReturnNextunused..... - by Mauzen - 18.12.2010, 11:03
Re: ReturnNextunused..... - by introzen - 18.12.2010, 11:28
Re: ReturnNextunused..... - by introzen - 19.12.2010, 12:11
Re: ReturnNextunused..... - by introzen - 19.12.2010, 17:19
Re: ReturnNextunused..... - by Joe Staff - 19.12.2010, 17:23
Re: ReturnNextunused..... - by introzen - 19.12.2010, 17:30

Forum Jump:


Users browsing this thread: 1 Guest(s)