[Ajuda] Problema com Loop
#4

Essa funзгo retornara quantos arquivos estiver na pasta Houses.
PHP код:
stock GetHouses()
{
    new
        
file[60], houses;
    for(new 
1<= sizeof(HouseInfo) ; i++)
    {
         
format(file,sizeof(file), "Houses/%i.ini",i);
           if(
DOF2_FileExists(file))houses++;
    }
    return 
houses;

Reply


Messages In This Thread
Problema com Loop - by FernandoDutra - 21.09.2016, 22:52
Respuesta: Problema com Loop - by SammyJ - 21.09.2016, 23:18
Re: Respuesta: Problema com Loop - by FernandoDutra - 21.09.2016, 23:20
Respuesta: Problema com Loop - by SammyJ - 21.09.2016, 23:26
Re: Respuesta: Problema com Loop - by FernandoDutra - 21.09.2016, 23:31
Respuesta: Problema com Loop - by SammyJ - 21.09.2016, 23:32
Re: Respuesta: Problema com Loop - by FernandoDutra - 21.09.2016, 23:36

Forum Jump:


Users browsing this thread: 1 Guest(s)