GameText color bug?
#1

I am creating on my server missions and say the rewards to the player through a GameText. Looking forward to look similar to the Story Mode mission passed screen. Then, I found this out:

pawn Код:
GameTextForPlayer(playerid, "~x~ЎMision completada!~n~~w~$Test~n~Respeto +Test", 3000, 0);
Leads to:



The white square is what I am talking about.

It seems like the brown color (~x~) it's buggy, or at least for me. Also, inputting the brown color (which is {CC9900} from this page) will make it brown, but it shows the color input code.



pawn Код:
GameTextForPlayer(playerid, "{CC9900}ЎMision completada!~n~~w~$Test~n~Respeto +Test", 3000, 0);
Reply
#2

Bump..
Reply
#3

PHP код:
GameTextForPlayer(playerid"{A52A2A}ЎMision completada!~n~~w~$Test~n~Respeto +Test"30000); 
Reply
#4

Quote:
Originally Posted by Sh4d0w2
Посмотреть сообщение
PHP код:
GameTextForPlayer(playerid"{A52A2A}ЎMision completada!~n~~w~$Test~n~Respeto +Test"30000); 
Color embedding cant be there in gametext...colors are invluded through '~'... For example for red use ~r~this is red.
Reply
#5

Style 0 is this color by default. You don't need a color code. Besides, I believe ~x~ is not even a valid code.
Reply
#6

~n~ New line
~r~ Red
~g~ Green
~b~ Blue
~w~ White
~y~ Yellow
~p~ Purple
~l~ Black (lower case L)
~h~ Turn text color lighter (used too much will make your text white, doesn't work on black)
Reply
#7

Quote:
Originally Posted by Vince
Посмотреть сообщение
Style 0 is this color by default. You don't need a color code. Besides, I believe ~x~ is not even a valid code.
Gonna try that.

EDIT: Wow man, I'm dumb. Thanks +repped .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)