SA-MP Forums Archive
[Tutorial] [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - 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: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) (/showthread.php?tid=109610)

Pages: 1 2 3


Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!) - Daren_Jacobson - 24.12.2009

Quote:
Originally Posted by Niixie
Thank you
I dont use Case myself because i think its messy
Maybe its faster but, i use DCMD to commands so the slow dialogs will be alright
dcmd is slower than just a simple strcmp, due to the fact that dcmd uses strcmp and does other stuff along with it. (like calling a function)

@karkanos
pawn Code:
ShowPlayerDialog(playerid, 1487, DIALOG_STYLE_INPUT, "Fat Factory - Choose an ID", "ID\tItem\t\t\tPrice\n\n1\tKids Meal\t\t\t$1\n2\tMedium Meal\t\t\t$6\n3\tHuge Meal\t\t\t$10\n4\tSalad Meal\t\t\t$10", "Buy", "Close");
// or better method
ShowPlayerDialog(playerid, 1487, DIALOG_STYLE_LIST, "Fat Factory - Choose a item", "Kids Meal\t\t\t$1\nMedium Meal\t\t\t$6\nHuge Meal\t\t\t$10\nSalad Meal\t\t\t$10", "Buy", "Close");



Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!) - deather - 07.01.2010

Hey man this is a nice tutorial. But when i click the quit/cancel button it kicks me from the server. How to solve this problem?


Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!) - HydraX - 07.01.2010

Awesome tut


Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!) - Scenario - 24.02.2010

Is there a way to make it so it doesn't come up all the time? Like maybe once every game month?


Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!) - Niixie - 24.02.2010

How do you mean?


Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!) - Scenario - 24.02.2010

Quote:
Originally Posted by Niixie
How do you mean?
Like, you dont have to click Continue every time you go on to the server. Only once per player...


Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - Niixie - 24.02.2010

I guess not. Thats the only way i think.


Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - Niki... - 16.01.2011

Nice tutorial it helped thanks


Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - Xer0maR - 17.01.2011

Nice one but i have a question..

If i make a LIST Dialog style and put 2 choices like Single Weapons \n Multiple Weapons and i choosed Single Weapons and clicked Button 1 (Ok) then i want it to expand another time to give me the list of Single weapons like deagle, shotgun, spas... and choose Multiple weapons and click ok to expand another manu of weapon sets... Finally, how to make 2 dialogs in one?


Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!) - Jantjuh - 28.03.2011

Thank you so much!


Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - Tamao_Serizawa - 26.01.2012

Its a good tutorial for us making a register/login dialog or any weapon and shop dialogs.


Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - Emil123 - 30.03.2012

Thanks you helped me ! REP


Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - imnoob - 14.05.2012

how to make for invite ?


Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - Lorenzo* - 25.06.2012

great tutorial, helped me understand dialogs, thanks


Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - baca99 - 26.06.2012

Thanks


Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - Subwoofer - 08.07.2012

how to i make categories into DIALOG_STYLE_LIST? i want to make gun shop but i dont want it to be like mess and want to add into categories


Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - Joshswag - 06.11.2012

+Repped, Amazing tutorial mate, Helped alot, My guide. Would you be able to make an imput dialog tutorial too?


Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - UnitedChaos - 17.11.2013

Nice


Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - xxRichixx - 17.11.2013

Simple but good work....


Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!) - ThaCrypte - 27.11.2013

Really useful, as i didn't really know much about dialog's. But add more stuff to the tutorial like Input and all that.