19.08.2015, 00:47
(
Последний раз редактировалось Dutheil; 19.08.2015 в 01:51.
)
dth_speakdialog v0.1 - A new original dialog !
An include allowing you to display a new style of dialog.
Contents : An include allowing you to display a new style of dialog.
- 3 functions
Functions :
Example :PHP код:
native ShowSpeakDialog(playerid, function[], caption[], info[], skin, s = sizeof(info));
native HideSpeakDialog(playerid);
native SpeakDialogOpened(playerid);
This would give:PHP код:
CMD:speakdialog(playerid, params[])
{
ShowSpeakDialog(playerid, SDTest, "Title", "Here is a test for this include", 3);
return 1;
}
CMD:hidespeakdialog(playerid, params[])
{
HideSpeakDialog(playerid);
return 1;
}
SpeakDialog:SDTest(playerid, response)
{
if(response) SCM(playerid, -1, "Tu valides ! :D");
else SCM(playerid, -1, "Tu annules ! :(");
return 1;
}
Credits :
Dutheil -> Development and the idea
Matt -> TextDraws