NEEDED HELP WITH commands
#1

hey I'm working on a private server I understand how you can make commands
I am now working with / rules command
I understand how you create a command and I also understand how a menu because I use this

Show Player Dialog (playerid, 1, DIALOG_STYLE_MSGBOX, "/ rules", "1: No hacks or cheats or i will be banned! 2: No racism 3: Dont insult other players.", "Ok", "");

only now I'm stuck with a question how the rules among themselves for example if you get / rules type that you see this:

1: No hacks or cheats or i will be banned!
2: No racism
3: Dont insult other players.

I do not know how so if I get to make you get everything back together piece by 1, so if I / rules type I get so

1: No hacks or cheats or i will be banned! 2: No racism 3: Dont insult other players.

and I would like so:

1: No hacks or cheats or i will be banned!
2: No racism
3: Dont insult other players.

would someone there could help me or explain to me

thanks
Reply
#2

you can simply use \n for that, \n means NEXT LINE, so for example if you want it like you said then do this in the dialog: 1: No hacks or cheats or i will be banned! \n2: No racism \n3: Dont insult other players.

i hope you understand me, also for a big space between places or else called a TAB use \t

i hope i helped you out

greets niels btw: im the first XD
Reply
#3

pawn Код:
ShowPlaye Dialog (playerid, 1, DIALOG_STYLE_MSGBOX, "/ rules", "1: No hacks or cheats or i will be banned!\n 2: No racism\n 3: Dont insult other players.", "Ok", "");
Just add \n for space.

Edit: too late.
Reply
#4

Yes i understand it thank you guys i gonna try it out
Thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)