Wanted Help
#4

You're constantly showing a new dialog and overwriting the previous. Instead, you should combine strings into a larger string and show the dialog outside of the loop.

Example:
pawn Код:
new
      largestring[500],
      smallstring[128],
format(smallstring, ... whatever\n)
strcat(largestring, smallstring);

// outside of loop
ShowPlayerDialog: use largestring as body text.
Make sure you end your format or whatever with \n, this is a new line in the dialog.
Reply


Messages In This Thread
Wanted Help - by silverms - 03.06.2017, 19:24
Re: Wanted Help - by GoldenLion - 03.06.2017, 20:35
Re: Wanted Help - by silverms - 03.06.2017, 20:54
Re: Wanted Help - by Abagail - 03.06.2017, 21:06
Re: Wanted Help - by GoldenLion - 03.06.2017, 21:25
Re: Wanted Help - by silverms - 04.06.2017, 08:37

Forum Jump:


Users browsing this thread: 1 Guest(s)