SA-MP Forums Archive
GameTextForPlayer ~g~ color - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: GameTextForPlayer ~g~ color (/showthread.php?tid=585144)



GameTextForPlayer ~g~ color - Dizzle - 11.08.2015

Hello everyone, my question is why when I set the GameText color to Green, using "~g~" infront of it, doesnt change the text color to green ?

For ex: GameTextForPlayer(playerid,"~g~Wasted",1000,0); it wont show up in Green color, but in white?!
otherwise if I try setting its color to red using "~r~" it shows up red as it should be.

Any solutions? Helpers will be +Repped.


Re: GameTextForPlayer ~g~ color - Moudix - 11.08.2015

Probably because some game text styles doesnt show in all colors? Try game style 5.


Re: GameTextForPlayer ~g~ color - ZBits - 11.08.2015

Quote:
Originally Posted by Moudix
Посмотреть сообщение
Probably because some game text styles doesnt show in all colors? Try game style 5.
No.

I just ran your code and it seems to be working fine. Maybe increase the time a little bit? 1 second is way to quick.


Re: GameTextForPlayer ~g~ color - noamch1997 - 11.08.2015

does it work with other color ?