Dialog_List Problem String!
#1

how can i make so its one list??plz help!if its one string then it appears error that string is too long..plz help..

Thx.
Reply
#2

pawn Код:
strcat(string,"{CCB3FF}Din ce Judet faci parte?","{FF0000}1.Alba\n2.Arad\n3.Arges\n4.Bacau\n5.Bihor\n6.Bistrita-Nasaud\n7.Botosani\n8.Braila\n9.Brasov\n",sizeof(string));
strcat(string,"{CCB3FF}Din ce Judet faci parte?","{FF0000}\n10.Buzau\n11.Calarasi\n12.Caras-Severin\n13.Cluj\n14.Constanta\n15.Covasna\n16.Dambovita\n17.Dolj\n18.Galati\n19.Giugiu\n",sizeof(string));
strcat(string,"{CCB3FF}Din ce Judet faci parte?","{FF0000}\n20.Gorj\n21.Harghita\n22.Hunedoara\n23.Ialomita\n24.Iasi\n25.Ilfov\n26.Maramures\n27.Mehedinti\n28.Mures\",sizeof(string));
strcat(string,"
n29.Neamt\n30.Olt\n31.Prahova\n32.Salaj\n33.Satu Mare\n34.Sibiu\n35.Suceava\n36.Teleorman\n37.Timis\n38.Tulcea\n39.Valcea\n40.Vaslui\n41.Vrancea\n",sizeof(string));
Reply
#3

@xXShadowXx - Don't post if you're not sure...

On topic, here:

pawn Код:
new string[2500]; // idk if it's this much...
strcat(string, "{FF0000}1.Alba\n2.Arad\n3.Arges\n4.Bacau\n5.Bihor\n6.Bistrita-Nasaud\n7.Botosani\n8.Braila\n9.Brasov");
strcat(string, "{FF0000}\n10.Buzau\n11.Calarasi\n12.Caras-Severin\n13.Cluj\n14.Constanta\n15.Covasna\n16.Dambovita\n17.Dolj\n18.Galati\n19.Giugiu");
strcat(string, "{FF0000}\n20.Gorj\n21.Harghita\n22.Hunedoara\n23.Ialomita\n24.Iasi\n25.Ilfov\n26.Maramures\n27.Mehedinti\n28.Mures\n29.Neamt\n30.Olt\n31.Prahova\n32.Salaj");
strcat(string, "{FF0000}\n33.Satu Mare\n34.Sibiu\n35.Suceava\n36.Teleorman\n37.Timis\n38.Tulcea\n39.Valcea\n40.Vaslui\n41.Vrancea");
ShowPlayerDialog(playerid, 51, DIALOG_STYLE_LIST, string, "Ok", "");
Reply
#4

Thx.
Reply
#5

edited
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)