GameTextForPlayer Bug in 0.3z
#1

Well, I found a bug in 0.3z when I updated my server,
its a GameTextForPlayer bug.
What happens is that when I send a screen message to any player at my server with GameTextForPlayer, if the string of the gametext is too long it would obviously split up in two lines but when it does it loses the color which I am using to send the GameText.

For Example:

I do

pawn Код:
~r~~h~Hello All! Welcome to my server! We just updated to 0.3z!
it would be shown as

Quote:

Hello All! Welcome to my server!
We just updated to 0.3z!

where only "Hello All! Welcome to my server!" would be red as I applied the ~r~~h~ code and the rest of the GameText "We just updated to 0.3z" would have normal GameText color, which is yellowish brown!
I didnt really see this bug in 0.3x tested it after seeing it in 0.3z but its not there in 0.3x.
However if I dont apply the ~h~ code this bug does not appear
Reply
#2

Out of interest, does this happen if you include this file (as "fixes.inc"):

https://raw.github.com/Y-Less/sa-mp-...Text/fixes.inc
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)