How to put this in dialog?
#3

Try this. Not sure if it'll work though. Bolded everything I added.

Код:
ALOG_ADLIST: {
			if(response) {

				new
					i = ListItemTrackId[playerid][listitem],
					szDialog[164];

					szDialog[0] = 0;
				if(IsPlayerConnected(i) && !isnull(szAdvert[i])) {
					format(szDialog, sizeof(szDialog), "%s%s\r\nContact: %i\n", szDialog, szAdvert[i], PlayerInfo[i][pPnumber]);
					return ShowPlayerDialog(playerid, DIALOG_ADFINAL, DIALOG_STYLE_MSGBOX, "Advertisements - Search Result", szDialog, "Return", "Exit");
				}
				else SendClientMessage(playerid, COLOR_GREY, "This player has either disconnected or withdrawn their advertisement.");
			}
			else ShowPlayerDialog(playerid, DIALOG_ADMAIN, DIALOG_STYLE_LIST, "Advertisements", "List Advertisements\nSearch Advertisements\nPlace Advertisement\nPlace Attention Advertisement", "Select", "Cancel");
  		}
  	}
Reply


Messages In This Thread
How to fix this dialog? - by Mikkel_RE - 18.05.2017, 16:25
Re: How to put this in dialog? - by Mikkel_RE - 20.05.2017, 07:32
Re: How to put this in dialog? - by Kane - 20.05.2017, 07:58
Re: How to put this in dialog? - by Mikkel_RE - 20.05.2017, 15:46
Re: How to put this in dialog? - by IceBilizard - 21.05.2017, 07:46

Forum Jump:


Users browsing this thread: 2 Guest(s)