Using GameTextForAll with a string doesn't work.
#1

I'm working on a simple script, but somehow I've got a bug or problem I've never seen before.

pawn Код:
format(string, sizeof(string), "~%s~%i", color, messageNumber);
        print(string);
        GameTextForAll(string, 1000, 4);
This piece of code will show the messagenumber with the default color, it doesn't matter what color is.

e.g color = b(blue), messageNumber = 2.
The GameText will not show the color, just the integer 2.
I tried to debug it, but that shows the correct string: "~b~2".
Reply


Messages In This Thread
Using GameTextForAll with a string doesn't work. - by Biesmen - 09.05.2011, 14:00
Re: Using GameTextForAll with a string doesn't work. - by Laronic - 09.05.2011, 14:31
Re: Using GameTextForAll with a string doesn't work. - by Biesmen - 09.05.2011, 14:33
Re: Using GameTextForAll with a string doesn't work. - by Vince - 09.05.2011, 14:38
Re: Using GameTextForAll with a string doesn't work. - by Laronic - 09.05.2011, 14:47
Re: Using GameTextForAll with a string doesn't work. - by Biesmen - 09.05.2011, 14:50
Re: Using GameTextForAll with a string doesn't work. - by Vince - 09.05.2011, 14:56

Forum Jump:


Users browsing this thread: 5 Guest(s)