SA-MP Forums Archive
little(tiny) problem in my "function" - 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)
+--- Thread: little(tiny) problem in my "function" (/showthread.php?tid=344933)



little(tiny) problem in my "function" - Youice - 23.05.2012

nvm I solved it alone


Re: little(tiny) problem in my "function" - JaKe Elite - 23.05.2012

change

pawn Код:
ShowPlayerDialog(playerid, DIALOG_SPAWN, DIALOG_STYLE_MSGBOX, string);
to

pawn Код:
ShowPlayerDialog(playerid, DIALOG_SPAWN, DIALOG_STYLE_MSGBOX, string, "Button1", "Button2");
You can leave the Button2 blank like this

pawn Код:
ShowPlayerDialog(playerid, DIALOG_SPAWN, DIALOG_STYLE_MSGBOX, string, "Button", "");
it will only show 1 button instead 2 button


Re: little(tiny) problem in my "function" - Youice - 23.05.2012

Thank you , cause to tried to help me