Dialog Linking
#1

Hi am am just wondering on how to link dialogues like this....

If I make a dialogue using "zcmd" how can I link up the "next" button with another dialogue?

Код:
CMD:acmds(playerid, params[])
{
	new string[1399];
	strcat(string,"My Text Here\n");
	strcat(string,"My Text Here\n");
	ShowPlayerDialog(playerid,18,DIALOG_STYLE_MSGBOX,"Level 1 Administrator Commands",string,"Next","Cancel");
	return 1;
}
Reply
#2

PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == 18)
    {
        if(
response) { ShowPlayerDialog(...); }
    }
    return 
1;

Reply
#3

what do you mean what do i need to do to that text ?
Reply
#4

wiki.sa-mp.com/wiki/OnDialogResponse

Read it PLEASE. We don't know how you want the dialog you link look like, so we can basically only tell you to read the wiki.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)