Why do new lines do this sometimes? (~n~)
#1

I have an /alert command for admins which overviews the server info for the players, I use Game Text Style 1. Usually it should show up from the top of the screen but I did ~n~ for new line, 2 times, so it could be visible on the screen (the default blocks some of it because of the chat)



As you can see, above of the info are 2 vertical lines because I did ~n~~n~ in my gametext line. Is it because of the order I put it in my code or is it a SA-MP bug?

Here is the line:
pawn Код:
GameTextForAll("~b~~b~~n~~n~~b~~h~las venturas:true crime~n~~y~version 7.1 ~n~~p~general info:~r~~n~/cmds /rules~n~~y~99.236.122.114:7777",10000,6);
In the code line, is it because I have ~n~ and ~b~ unorganized? Should I place ~b~ before the start of the words las venturas or should I put ~n~ before it?

There is also a red vertical line beside General Info: as you can see.

Anyone know how to fix it?
Reply
#2

Try doing the new line and THEN applying the color.
Reply
#3

Same thing in my script, I added two
pawn Код:
~n~~n~
Beside each other and a vertical line appears. Try deleting one of the ~n~ and see if there is one instead of two. Then you know it is because of using the ~n~.
Reply
#4

Those answers still don't work.

Any other solutions?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)