Posts: 115
Threads: 0
Joined: Mar 2018
Quote:
Originally Posted by AidanRO
Hey, I'm trying to use ~n~ in my textdraw, but apparently, after it is added into the textdraw string, a little malfunction seems to appear (you can see in the photo below). Any ideas?
Textdraw code:
pawn Код:
td_radio_info2[ playerid ] = CreatePlayerTextDraw( playerid, 549.923486, 106.850000, "~b~radio info~n~chan: ~g~0~n~~b~slot: ~g~0" ) ; // NON-COLOR PlayerTextDrawLetterSize( playerid, td_radio_info2[ playerid ], 0.484498, 1.113124 ) ; PlayerTextDrawAlignment( playerid, td_radio_info2[ playerid ], 2 ) ; PlayerTextDrawColor( playerid, td_radio_info2[ playerid ], 255 ) ; PlayerTextDrawSetShadow( playerid, td_radio_info2[ playerid ], 0 ) ; PlayerTextDrawSetOutline( playerid, td_radio_info2[ playerid ], 0 ) ; PlayerTextDrawBackgroundColor( playerid, td_radio_info2[ playerid ], 51 ) ; PlayerTextDrawFont( playerid, td_radio_info2[ playerid ], 3 ) ; PlayerTextDrawSetProportional( playerid, td_radio_info2[ playerid ], 1 ) ;
td_radio_info1[ playerid ] = CreatePlayerTextDraw( playerid, 548.000000, 105.000000, "radio info~n~chan: 0~n~slot: 0" ) ; // COLOR PlayerTextDrawLetterSize( playerid, td_radio_info1[ playerid ], 0.474998, 1.104373 ) ; PlayerTextDrawAlignment( playerid, td_radio_info1[ playerid ], 2 ) ; PlayerTextDrawColor( playerid, td_radio_info1[ playerid ], -1 ) ; PlayerTextDrawSetShadow( playerid, td_radio_info1[ playerid ], 0 ) ; PlayerTextDrawSetOutline( playerid, td_radio_info1[ playerid ], 0 ) ; PlayerTextDrawBackgroundColor( playerid, td_radio_info1[ playerid ], 51 ) ; PlayerTextDrawFont( playerid, td_radio_info1[ playerid ], 3 ) ; PlayerTextDrawSetProportional( playerid, td_radio_info1[ playerid ], 1 ) ;
|
white line?