How to Make Dialog responses[Reopened] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to Make Dialog responses[Reopened] (
/showthread.php?tid=146085)
How to Make Dialog responses[Reopened] -
Steven82 - 05.05.2010
So i have to reopen topic because i can't quite remember how to make a close dialog thing. Can anyone help me?
Re: How to Make mutliplie responses... -
[MWR]Blood - 05.05.2010
Lol, it's pretty simple...
pawn Код:
if(listitem==0)
{
ShowPlayerDialog(playerid,dialogname);
}
Re: How to Make mutliplie responses[SOLVED] -
Steven82 - 05.05.2010
I know i = fail
Maybe i need some sleep.
EDIT:
Reopened read first post!
Re: How to Make Dialog responses[Reopened] -
Whitetiger - 05.05.2010
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