Y_dialog 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)
+--- Thread: Y_dialog help (
/showthread.php?tid=503717)
Y_dialog help -
Bect - 30.03.2014
Код:
ShowPlayerDialog(playerid,1000,DIALOG_STYLE_LIST,"Title","Text","Button 1","Button 2");
How is this in y_dialogs ?
Re: Y_dialog help -
luis_mendoza - 30.03.2014
Example
pawn Код:
new
id = Dialog_ObtainID();
foreach (new i : Player)
{
if (ShouldSeeDialog(i))
{
Dialog_Show(playerid, DIALOG_STYLE_MSGBOX, "Title", "Message", "Button 1", .dialog = id);
}
}
Or if you want to get better known with those dialogs , its easier to go here
https://sampforum.blast.hk/showthread.php?tid=295049
Re: Y_dialog help -
Bect - 30.03.2014
Is not good. How reach this dialog to dialog 1000 ?
#define DIALOG_REGISTER 10000
Re: Y_dialog help -
luis_mendoza - 30.03.2014
Quote:
Originally Posted by Bect
Is not good. How reach this dialog to dialog 1000 ?
#define DIALOG_REGISTER 10000
|
Maybe I do not understand you correctly , but you define the dialog's number by yourself.
Re: Y_dialog help -
Bect - 30.03.2014
it's okay... i will solve it ! thanks you anyway. rep + !!