[Include] dth_speakdialog - A new original dialog !
#1

dth_speakdialog v0.1 - A new original dialog !
An include allowing you to display a new style of dialog.
Contents :
  • 3 functions
Functions :
PHP код:
native ShowSpeakDialog(playerid, function[], caption[], info[], skin, s = sizeof(info));
native HideSpeakDialog(playerid);
      
native SpeakDialogOpened(playerid); 
Example :
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;
} 
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 :



Reply


Messages In This Thread
dth_speakdialog - A new original dialog ! - by Dutheil - 19.08.2015, 00:47
Re: dth_speakdialog - A new original dialog ! - by X337 - 19.08.2015, 00:53
Re : Re: dth_speakdialog - A new original dialog ! - by Dutheil - 19.08.2015, 00:55

Forum Jump:


Users browsing this thread: 1 Guest(s)