Help with foreach
#3

pawn Код:
stock GetNewVehID()
{

    for(new i = 1; i < MAX_BUYABLE_VEH; i++)
    {
        if(!vInfo[ivCreated[i]][vPrice]) return i;
    }
    return 255;

}
I want to use foreach in this function, but when i use your's example i get errors.
Reply


Messages In This Thread
Help with foreach - by ajwar - 12.02.2011, 08:21
Re: Help with foreach - by xxmitsu - 12.02.2011, 08:26
Re: Help with foreach - by ajwar - 12.02.2011, 08:37

Forum Jump:


Users browsing this thread: 2 Guest(s)