Why nothing shows me ?
#2

pawn Код:
stock DialogParticules(playerid)  
{      
    new  
        string[64],  
        string2[sizeof(string) * sizeof(pInfo) + 1];  
     
    for(new i = 0; i < sizeof(pInfo); i++)  
    {  
        switch(i)  
        {          
            case FIN_CHAPEAU_TETE, FIN_MAINS, FIN_FAMILIER: continue;  
            case TITRE_CHAPEAU_TETE,  TITRE_MAINS,  TITRE_FAMILIER: format(string, sizeof(string), "%s\n", string_particules[i]);  
            default: format(string, sizeof(string), "%s : %s\n", string_particules[i], activate[pInfo[playerid][pInfo_:i]]);  
        }  
         
        print(string);  
         
        strcat(string2, string);  
         
        print(string2);
    }  
     
    print(string2); // How is it going to print string2? You only have it returning something under your for.
     
    return Dialog_Show(playerid, DialogParticules, DIALOG_STYLE_LIST, "Particules & Accessoires", string2, "Ok", "Fermer");  
}
How is it going to print string2? You only have it returning something under your for.
Reply


Messages In This Thread
Why nothing shows me ? - by Dutheil - 15.06.2015, 22:08
Re: Why nothing shows me ? - by Swyft™ - 15.06.2015, 22:38
Re : Why nothing shows me ? - by Dutheil - 15.06.2015, 23:15

Forum Jump:


Users browsing this thread: 1 Guest(s)