[FilterScript] Aluguel De Carros
#4

Quote:
Originally Posted by Parka
Посмотреть сообщение
vocк tambйm.

PHP код:
static CheckCar(carid)
{
    for(new 
i=0i<sizeof(CarrosAluguel); i++)
    {
        if(
CarrosAluguel[i] == carid) return true;
    }
    return 
false;

у

PHP код:
static CheckCar(carid

    for(new 
i=(sizeof(CarrosAluguel) - 1); != 0i--) 
    { 
        if(
CarrosAluguel[i] == carid) return true
    } 
    return 
false

Eu nгo quis alterar a maneira como ele fez a funзгo, apenas dar um exemplo de como poderia ser, e lhe garanto que funcionaria.
Reply


Messages In This Thread
Aluguel De Carros - by Asus994 - 11.09.2015, 04:51
Re: Aluguel De Carros - by DouglasRodrigues - 11.09.2015, 05:50
Respuesta: Aluguel De Carros - by Parka - 11.09.2015, 06:35
Re: Respuesta: Aluguel De Carros - by DouglasRodrigues - 11.09.2015, 08:15
Re: Aluguel De Carros - by Asus994 - 11.09.2015, 14:57
Re: Aluguel De Carros - by .Skool_. - 11.09.2015, 23:09
Re: Aluguel De Carros - by Asus994 - 11.09.2015, 23:29
Re: Aluguel De Carros - by JuniorTheDM - 13.09.2015, 06:36
Re: Aluguel De Carros - by Asus994 - 13.09.2015, 06:42
Re: Aluguel De Carros - by MkeY - 23.09.2015, 04:46

Forum Jump:


Users browsing this thread: 1 Guest(s)