SA-MP Forums Archive
[Tutorial] How To Make Dialog system - 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] How To Make Dialog system (/showthread.php?tid=413984)



How To Make Dialog system - TwisTa98 - 07.02.2013

Hello Guys! Here's easy tutorial for making dialog system!

first:
Код:
// Define the dialog IDs either with an enum:

enum
{
    DIALOG_WELCOME,
}
then:

Код:
// or with the more common method, defines:
#define DIALOG_WELCOME 2
After type this in your Command, OnPlayerConnect or other!

Код:
ShowPlayerDialog(playerid, DIALOG_WELCOME, DIALOG_STYLE_MSGBOX, "Notice", "You connected to the server", "Close", "");
So Works? If It works, Please "Rep+"!



Re: How To Make Dialog system - Scenario - 07.02.2013

What is this? A pointless thread to describe what is already on the SA:MP wiki?

https://sampwiki.blast.hk/wiki/ShowPlayerDialog

This is not a "dialog system," it's just showing you two different ways to handle dialog ID's -- NOT A TUTORIAL!


Re: How To Make Dialog system - T0pAz - 07.02.2013

Not to be rude/mean but SA-MP wiki explains alot better than you do. If you aren't sure what you are doing, don't teach people with your uncertainty.


Re: How To Make Dialog system - PrawkC - 08.02.2013

I read it and was instantly confused.. you didn't explain a damn thing, and as stated above, the wiki explains it perfectly.