Square Brackets Problem
#1

Hello, I have a problem with the square brackets. So I'm using a GameText which has [ and ], example: [GSF], but IG the GameText shows a star instead of [ and ], I know it's normal, but is there any way to avoid getting the star and use [ ] ? I don't want to use ( and ), etc.
Reply
#2

Have you tried different gametext types? If you get star on all of them, then it's no possible unless you use ( )
Reply
#3

Actually, I saw on a server it works with [ and ]. They use [GSF] aswell.
Reply
#4

Show me that [GSF] line which creates the GameText

Quote:

] displays a * symbol (Only in text styles 3, 4 and 5)

Reply
#5

Are you sure they aren't textdraws? Using () kind of appears to be [ ] in gamtexts
Reply
#6

From the wiki:

Quote:

] displays a * symbol (Only in text styles 3, 4 and 5)

So it might only work with styles 0, 1 and 2. (not tested though so don't know if it will work on any).
Reply
#7

I'm using the same style as that servers does. (I only cropped the GameText, and yes, it IS a GameText)
Pic:



And line:
Код:
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~r~Locked for [GSF]Chains.", 5500,5);
Reply
#8

textdraw
Reply
#9

I think it also displays a star on textdraws (wanted star).

EDIT: ^^ That could be either. Does look like gametext though. Did you try asking a scripter on the server?
Reply
#10

Quote:
Originally Posted by -Prodigy-
Посмотреть сообщение
Are you sure they aren't textdraws? Using () kind of appears to be [ ] in gamtexts
Thanks for the help. Tested it right now, it shows [ ] instead of ( ), +REP, this problem was really annoying.

Anyways, thank you all for your help.

SOLVED.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)