SA-MP Forums Archive
how to make 2 lines? - 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: how to make 2 lines? (/showthread.php?tid=376408)



how to make 2 lines? - [A]ndrei - 10.09.2012

Hey all i tryed /n but it does not work i mean when making dialog like in the regsiter dialog i type this for the title
You Must Regsiter To Play!/nIf you do not regsiter you will be kicked!/nPlease /login after Regsitering
and it does not break the lane...plz help!


Re: how to make 2 lines? - Djole1337 - 10.09.2012

Use /n instead.


Re: how to make 2 lines? - Audiophr3ak - 10.09.2012

Use "\n" not "/n"...
Quote:
Originally Posted by Mr_DjolE
Посмотреть сообщение
Use /n instead.
LOL nice editing your post...


Re: how to make 2 lines? - [A]ndrei - 10.09.2012

thx also how can i make it show it shows in color?


Re: how to make 2 lines? - Audiophr3ak - 10.09.2012

Paste colors in this format {RRGGBB}.
Example "Hey {FF0000}n00bs!".


Re: how to make 2 lines? - [A]ndrei - 10.09.2012

hey i did \n and it still does not work ??


Re: how to make 2 lines? - Djole1337 - 10.09.2012

pawn Код:
#define         C_BLUE         "{003DF5}"
#define         C_RED          "{FF0000}"
#define         C_GREEN        "{66FF00}"
#define         C_WHITE        "{FFFFFF}"
pawn Код:
ShowPlayerDialog(playerid, YOUR_DIALOG, DIALOG_STYLE_BLABLA, ""C_BLUE"Hello This is an example how to use colors.", "Easy", "Right?");

Quote:
Originally Posted by Audiophr3ak
Посмотреть сообщение
LOL nice editing your post...
Didn't even see your post until i refresh the page.


Re: how to make 2 lines? - Audiophr3ak - 10.09.2012

Quote:
Originally Posted by [A]ndrei
Посмотреть сообщение
hey i did \n and it still does not work ??
Try \r\n.


Re: how to make 2 lines? - [A]ndrei - 10.09.2012

Quote:
Originally Posted by Audiophr3ak
Посмотреть сообщение
Try \r\n.
AMIG STILL DOSENT WORK...WTF!


Re: how to make 2 lines? - DarkB0y - 10.09.2012

use those ~P~ ~R~ ~B~ ~G~ ~Y~ or visit colorpicker.com and take the color and put it in those {color}
and try ~N~ for line