Skip to content

Commit

Permalink
ndp_examples.pwn: add inputtext
Browse files Browse the repository at this point in the history
  • Loading branch information
ZantetsukenGT committed Aug 23, 2022
1 parent 3bb2cd3 commit 513035c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ndp_examples.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 513035c

Please sign in to comment.