SA-MP Forums Archive
i would like to create a cmd: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: i would like to create a cmd:help (/showthread.php?tid=415977)



i would like to create a cmd:help - mittukuttan - 15.02.2013

i would like to create a cmd:help.when we type that they should a show a dialog box and "cancel" and "next" only three pages after that show "ok".when we click next it should go to next page.


AW: i would like to create a cmd:help - Blackazur - 15.02.2013

https://sampforum.blast.hk/showthread.php?tid=413556


Re: i would like to create a cmd:help - dusk - 15.02.2013

Just use this: https://sampwiki.blast.hk/wiki/ShowPlayerDialog


Re: i would like to create a cmd:help - Patrick - 15.02.2013

here you go

pawn Код:
CMD:help(playerid)
{
    ShowPlayerDialog(playerid, 900, DIALOG_STYLE_MSGBOX,"Title Here","Message here","OK","Next");
        //use else to open another dialog
    return 1;
}



Re: i would like to create a cmd:help - CreativityLacker - 15.02.2013

Quote:
Originally Posted by pds2012
Посмотреть сообщение
here you go

pawn Код:
CMD:help(playerid)
{
    new help;
    if(help == 1)
    {
    ShowPlayerDialog(playerid, 900, DIALOG_STYLE_MSGBOX,"Title Here","Message here","OK","Next");
    }else{
    ShowPlayerDialog(playerid, 900, DIALOG_STYLE_MSGBOX,"Title Here","Message here","OK","Next");
    }
    return 1;
}
Don't post wrong stuff. How does that even make sense?!
You're declaring a new variable called 'help' under the command 'help' to detect if 'help' is 1 or not, and the result is same!

Your code is retarded.
pawn Код:
CMD:help(playerid, params[ ])
{
    ShowPlayerDialog(playerid, 900, DIALOG_STYLE_MSGBOX,"Title Here","Message here","OK","Next");
    return 1;
}
Would do the same thing, and would be more understandable


Re: i would like to create a cmd:help - mittukuttan - 21.02.2013

i need the dialog response