[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[], 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 :



Reply
#2

Good Job, but the skin object textdraw looks bad.
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)