Dialog menu help - 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 menu help (
/showthread.php?tid=226595)
Dialog menu help -
Sepelin - 15.02.2011
When it brings up the menu
PHP код:
public Pickpocketed(playerid)
{
ShowPlayerDialog(playerid, 680, DIALOG_STYLE_LIST, "PickPocket", "Cash\nCrack\nPot\nMaterials", "Select", "Cancel");
}
and you pick Cash after you picked cash he menu comes up again even if you press cancel the menu comes up again..
Anyone know how to make the menu cancel when pressing Cancel button or choose something?