help menu
#2

Quote:
Originally Posted by sampx
Посмотреть сообщение
i want to make a menu but not in 1 line i want like new line
First of all,
Код:
ShowPlayerDialog(playerid,79,DIALOG_STYLE_LIST,"He lp","\0cmds\n2012\n...
Wiki: Null Character
Quote:

Today the character has much more significance in C and its derivatives and in many data formats, where it serves as a reserved character used to signify the end of a string,
That aside, I think you can use a backslash to continue the string on a new line.

Код:
ShowPlayerDialog(
    playerid,
    79,
    DIALOG_STYLE_LIST,
    "He lp",
    "cmds\n \
        ban\n \
        unban",
    "Done",
    "Cancel"
);
Check if that compiles for me, I don't have a pawn compiler on this computer.
Reply


Messages In This Thread
help menu - by sampx - 30.06.2011, 17:39
Re: help menu - by langricr - 30.06.2011, 17:48
Re: help menu - by Wesley221 - 30.06.2011, 17:54
Re: help menu - by sampx - 01.07.2011, 14:48

Forum Jump:


Users browsing this thread: 1 Guest(s)