dialog problems
#4

PHP код:
ShowDialog(playeridDIALOG_TUTODIALOG_STYLE_MSGBOX"{0092FF}|____ Fin ____|""{0092FF} Felicidades! {FFFFFF} por llegar hasta el final. Si necesita mбs ayuda, use {0092FF} /n {FFFFFF} para hacer preguntas relacionadas con el juego.\n\nEl tono de estas reglas puede que suenen es un poco severo, pero {0092FF} no son irrazonables. {FFFFFF} \n\nPara participar en la comunidad {0092FF} {FFFFFF} y para obtener mбs informaciуn, visite el sitio web:\n\n {0092FF} www.gtasa-rpg.com","Jugar",""
"{0092FF}|____ The End ____|""{0092FF}Congrats! {FFFFFF}for making it to the end. If you need any further help use {0092FF}/n{FFFFFF} to ask any game related questions.\n\nThe tone of these rules is a bit harsh, but they {0092FF}aren't unreasonable.{FFFFFF}\n\nTo involve yourself in the {0092FF}community {FFFFFF}and for more info, check out the website:\n\n{0092FF}www.gtasa-rpg.com","Play",""
No idea what you're trying to do like that lol....

ShowPlayerDialog only has 7 arguments

PHP код:
ShowPlayerDialog(playeriddialogidstylecaption[], info[], button1[], button2[]); 
So you can't just put another caption, info and buttons.

You'll need to make a button to move onto the next dialog or a timer to automatically move it on.

In short, you can't do what you're doing, you have to do it like this.

PHP код:
if(dialogid == dialog1) { ShowPlayerDialog(playeriddialog2stylecaption[], info[], button1[], button2[]); }
if(
dialogid == dialog2 ShowPlayerDialog(playeriddialog3stylecaption[], info[], button1[], button2[]); }
/*etc...*/ 
You're can't do this

PHP код:
if(dialogid == dialog1
{
    
ShowPlayerDialog(playeriddialog2stylecaption[], info[], button1[], button2[], 
    
caption[], info[], button1[], button2[]);

Hope you understand what I'm saying
Reply


Messages In This Thread
dialog problems - by Jaua10 - 15.02.2019, 14:42
Re: dialog problems - by Jaua10 - 15.02.2019, 19:02
Re: dialog problems - by TokicMajstor - 15.02.2019, 20:56
Re: dialog problems - by ItsRobinson - 15.02.2019, 21:10
Re: dialog problems - by d3Pedro - 15.02.2019, 21:32
Re: dialog problems - by Jaua10 - 15.02.2019, 22:11

Forum Jump:


Users browsing this thread: 1 Guest(s)