Jump to content
  • 0

pomoc /rules


HomerSimpsons:D

Dotaz

7 odpovědí na tuto otázku

Recommended Posts

  • 0

#define DIALOG_TEXTs  5

stock SendDialogMessage(playerid, nadpis[], txt1[], txt2[], txt3[], txt4[], txt5[])
{
new str1[300], str2[301], str3[302], str4[303], str5[304], str6[1520];

format(str1, sizeof(str1), "%s", txt1);
format(str2, sizeof(str2), "%s", txt2);
format(str3, sizeof(str3), "%s", txt3);
format(str4, sizeof(str4), "%s", txt4);
format(str5, sizeof(str5), "%s", txt5);

format(str6, sizeof(str6), "%s%s%s%s%s", str1, str2, str3, str4, str5);
ShowPlayerDialog(playerid, DIALOG_TEXTs, DIALOG_STYLE_MSGBOX, nadpis, str6, "Zavrieť", "");
return true;
}

 

S týmto ti to pôjde :)

Link to comment
Share on other sites

  • 0

new max_str[1000];
strcat(max_str,"neco");
strcat(max_str,"neco");
strcat(max_str,"neco");
strcat(max_str,"neco");
strcat(max_str,"neco");
strcat(max_str,"neco");

pote by jsi to dal do dialogu vypisal by jsi max_str

pokud chceš udělat enter v dialogu tak \n strčíš do textu kde chceš mít odřádkování :d :d

pokud jsi něco nepochopil tak sz :d

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...