15.02.2019, 21:10
PHP код:
ShowDialog(playerid, DIALOG_TUTO, DIALOG_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","";
ShowPlayerDialog only has 7 arguments
PHP код:
ShowPlayerDialog(playerid, dialogid, style, caption[], info[], button1[], button2[]);
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(playerid, dialog2, style, caption[], info[], button1[], button2[]); }
if(dialogid == dialog2 { ShowPlayerDialog(playerid, dialog3, style, caption[], info[], button1[], button2[]); }
/*etc...*/
PHP код:
if(dialogid == dialog1)
{
ShowPlayerDialog(playerid, dialog2, style, caption[], info[], button1[], button2[],
caption[], info[], button1[], button2[]);
}