RGB Codes in PlayerTextDrawSetString
#1

Is it possible to add RGB Codes in PlayerTextDrawSetString?

Ex:
PHP код:
#define COL_GREEN "{00FF22}"
#define COL_WHITE "{FFFFFF}"
PlayerTextDrawSetString(playeridAttributePTD1""COL_GREEN"O "COL_WHITE"O O O O O O O O O"); 
Shows an argument type mismatch error
Reply
#2

You can use GameText colors to color the text
"~g~O ~w~O O O O O O O O O"
https://sampwiki.blast.hk/wiki/GameTextStyle
Reply
#3

Well there was nothing wrong with the RGB. I just forgot to add [playerid] after the Textdraw name. Sorry bout that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)