DIALOG_STYLE_LIST, "back" button? - 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: DIALOG_STYLE_LIST, "back" button? (
/showthread.php?tid=204161)
DIALOG_STYLE_LIST, "back" button? -
MrIncredible - 28.12.2010
how to makke a back button? for this kind of dialog? well i can change the button name.. but how do i get which button the players pushes?
Re: DIALOG_STYLE_LIST, "back" button? -
blackwave - 28.12.2010
if(response) == Left button
if(!response == Right button
Re: DIALOG_STYLE_LIST, "back" button? -
MrIncredible - 29.12.2010
eh? that doest make any sense ..
if(response == leftbutton) ?? the button i made ? the.. " back" ?
Re: DIALOG_STYLE_LIST, "back" button? -
MrIncredible - 29.12.2010
eh? that doesnt work
Re: DIALOG_STYLE_LIST, "back" button? -
blackwave - 29.12.2010
Nope, I mean that:
pawn Код:
if(response) // For the left button of dialog
pawn Код:
if(!response) // For the right button of dialog