SA-MP Forums Archive
MsgBox help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MsgBox help (/showthread.php?tid=387728)



MsgBox help - Jassey - 26.10.2012

I want to make an MsgBox, it ask would you like going to the tutorial?
The option is Yes and No, when i click Yes button it will send to the Tutorial but if i click No it will skip the tutorial, how can i make it?


Re: MsgBox help - RanSEE - 26.10.2012

pawn Код:
new sstring[12][164];
    new fstring[2000];
    strcat(sstring[0], "code\n");
    strcat(sstring[1], "code\n");
    strcat(sstring[2], "code\n");
    strcat(sstring[3], "code\n");
    strcat(sstring[5], "code\n");
    strcat(sstring[6], "code\n");
    strcat(sstring[7], "code\n");
    format(fstring, sizeof fstring, "\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n",sstring[0],sstring[1],sstring[2],sstring[3],sstring[4],sstring[5],sstring[6],sstring[7]);
    ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_MSGBOX, "info",fstring, "Go", "Exit");



Re: MsgBox help - Jassey - 26.10.2012

The problem Solved
Thread Closed