i would like to create a cmd:help
#5

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
Reply


Messages In This Thread
i would like to create a cmd:help - by mittukuttan - 15.02.2013, 14:48
AW: i would like to create a cmd:help - by Blackazur - 15.02.2013, 14:49
Re: i would like to create a cmd:help - by dusk - 15.02.2013, 14:50
Re: i would like to create a cmd:help - by Patrick - 15.02.2013, 14:56
Re: i would like to create a cmd:help - by CreativityLacker - 15.02.2013, 15:06
Re: i would like to create a cmd:help - by mittukuttan - 21.02.2013, 10:47

Forum Jump:


Users browsing this thread: 1 Guest(s)