From 513035c561595af537739e31fcc75ceeae2fdfe8 Mon Sep 17 00:00:00 2001 From: Ozmar Escobar <25725331+ZantetsukenGT@users.noreply.github.com> Date: Tue, 23 Aug 2022 08:53:18 -0600 Subject: [PATCH] ndp_examples.pwn: add inputtext --- ndp_examples.pwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ndp_examples.pwn b/ndp_examples.pwn index 28f13dd..bb92b1b 100644 --- a/ndp_examples.pwn +++ b/ndp_examples.pwn @@ -61,12 +61,12 @@ CMD:ndptest3(playerid, params[]) // DIALOG_STYLE_TABLIST_HEADERS /* Callback */ -DialogPages:NDP_Test(playerid, response, listitem) +DialogPages:NDP_Test(playerid, response, listitem, inputtext[]) { if(!response) return 1; - format(ndp_e_str, sizeof ndp_e_str, "[NDialog-Pages] You have selected listitem ID: %i", listitem); + format(ndp_e_str, sizeof ndp_e_str, "[NDialog-Pages] You have selected listitem ID: {666666}%i{FFFFFF}, listitem's text: {666666}%s", listitem, inputtext); SendClientMessage(playerid, -1, ndp_e_str); print(ndp_e_str); return 1;