SA-MP Forums Archive
[Include] dth_speakdialog - A new original dialog ! - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] dth_speakdialog - A new original dialog ! (/showthread.php?tid=586067)



dth_speakdialog - A new original dialog ! - Dutheil - 19.08.2015

dth_speakdialog v0.1 - A new original dialog !
An include allowing you to display a new style of dialog.
Contents :
Functions :
PHP код:
native ShowSpeakDialog(playerid, function[], caption[], info[], skinsizeof(info));
native HideSpeakDialog(playerid);
      
native SpeakDialogOpened(playerid); 
Example :
PHP код:
CMD:speakdialog(playeridparams[])
{
    
ShowSpeakDialog(playeridSDTest"Title""Here is a test for this include"3);
    
    return 
1;
}
CMD:hidespeakdialog(playeridparams[])
{
    
HideSpeakDialog(playerid);
    return 
1;
}
SpeakDialog:SDTest(playeridresponse)    
{
    if(
responseSCM(playerid, -1"Tu valides ! :D");
    else 
SCM(playerid, -1"Tu annules ! :(");
    
    return 
1;

This would give:


Credits :
Dutheil -> Development and the idea
Matt -> TextDraws
If you encounter a bug, thank you to report it here, it is only the first version of the include.
Regarding the display bugs, we tried to make these TextDraws in different resolutions and one that we have chosen is the most correct.


Download :






Re: dth_speakdialog - A new original dialog ! - X337 - 19.08.2015

Good Job, but the skin object textdraw looks bad.


Re : Re: dth_speakdialog - A new original dialog ! - Dutheil - 19.08.2015

Quote:
Originally Posted by X337
Посмотреть сообщение
Good Job, but the skin object textdraw looks bad.
Yes the skin is a little fuzzy, but it's not so disturbing to me.