How to Make Dialog responses[Reopened]
#1

So i have to reopen topic because i can't quite remember how to make a close dialog thing. Can anyone help me?
Reply
#2

Lol, it's pretty simple...
pawn Код:
if(listitem==0)
{
ShowPlayerDialog(playerid,dialogname);
}
Reply
#3

I know i = fail

Maybe i need some sleep.

EDIT:

Reopened read first post!
Reply
#4

pawn Код:
ShowPlayerDialog(playerid,DIALOGID,DIALOG_STYLE_INPUT,"I'm VERY VERY GAY!", "put here how gay you are!", "Enter", "Cancel");
to close

pawn Код:
if(dialogid == DIALOGID) {
  if(response) //player responded with the button "Enter"
  if(!response) // player responded with cancel
like this.. there's a wiki page for this stuff you know, ---> https://sampwiki.blast.hk/wiki/ShowPlayerDialog
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)