PDA

View Full Version : NEEDED HELP WITH commands


mickos
26/04/2012, 05:21 PM
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

niels44
26/04/2012, 05:25 PM
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 :D

greets niels btw: im the first :D:D XD

]Rafaellos[
26/04/2012, 05:25 PM
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.

mickos
26/04/2012, 05:47 PM
Yes i understand it thank you guys i gonna try it out:D
Thanks :)