[Ajuda] Debug
#1

Olб, eu estava testando um debug e notei algo, olhe:

PHP код:
stock verificaritens()
{
    
printf("........Iniciado");
    new 
rand;
    for( new 
0<= sizeof(itens); i++ ){
        if(var[
i] == 1) { continue; }
        
rand random(3);
        switch(
rand){
            case 
0: { CreateObject(2768itens[i][0], itens[i][1], itens[i][2], 00300); }
            case 
1: { CreateObject(2814itens[i][0], itens[i][1], itens[i][2], 00300); }
            case 
2: { CreateObject(19570itens[i][0], itens[i][1], itens[i][2], 00300); }
        }
        var[
i] = 1;
    }
    
printf("........Carregado");
    return 
1;

pq ele nгo executa o ultimo printf dizendo carregado? geralmente quando coloco um printf dps de um for ele nгo printa, alguem sabe o pq?
Reply


Messages In This Thread
Debug - by Scorpion659 - 09.05.2017, 18:27
Re: Debug - by MultiKill - 09.05.2017, 18:52
Re: Debug - by Scorpion659 - 09.05.2017, 19:00

Forum Jump:


Users browsing this thread: 1 Guest(s)