15.06.2015, 22:08
Logically, it works. But here, don't
PHP код:
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); // Here it works
}
print(string2); // <--- Here it doesn't work :(
return Dialog_Show(playerid, DialogParticules, DIALOG_STYLE_LIST, "Particules & Accessoires", string2, "Ok", "Fermer");
}