dialog doesnt show up
#4

dStCat is empty and a dialog isn't shown if the main body is empty.

pawn Код:
format(dString, 160, "%s\t%d / %d\t%d\t%s\n", historyActors[j][NameActor], historyActors[j][Experience], historyActors[j][Level], historyActors[j][Money], dokass);
strcat(dString, dStCat, sizeof(dString));
needs to be:
Код:
format(dStCat, 160, "%s\t%d / %d\t%d\t%s\n", historyActors[j][NameActor], historyActors[j][Experience], historyActors[j][Level], historyActors[j][Money], dokass); 
strcat(dString, dStCat, sizeof(dString));
You can also assign directly text to a string like this:
pawn Код:
dString = "Vardas\tPatirtis / lygis \tPinigш sk.\tTurimi dokumentai\n";
Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
That won't do anything, all you're doing is changing the DialogID from 3, to DIALOG_INFO... Please, don't guess on this sort of thing.
Not only that, but would also give errors (he forgot the number).
Reply


Messages In This Thread
dialog doesnt show up - by bogushas - 05.11.2017, 00:27
Re: dialog doesnt show up - by AlexMSK - 05.11.2017, 00:43
Re: dialog doesnt show up - by Sew_Sumi - 05.11.2017, 01:31
Re: dialog doesnt show up - by Konstantinos - 05.11.2017, 09:00

Forum Jump:


Users browsing this thread: 1 Guest(s)