Textdraw starts on new line after each space
#1

-- DELETED --
Reply
#2

Your textdraw goes from x = 361 (position of the top-left corner as defined in CreatePlayerTextDraw) to x = 385 (right-corner as defined in PlayerTextDrawTextSize), making it 24 pixels wide.
You need to make it bigger by adjusting the x-coordinate of PlayerTextDrawTextSize.
If you used PlayerTextDrawUseBox with a value of 1 instead of 0, you can actually see how big (wide) it really is.

Even if you only set the height to 9.8 (the y-coordinate of PlayerTextDrawTextSize), it still stretches vertically when more text is being displayed on multiple rows.
Using a small width makes text appear on separate lines when there is a space in it.

Another bug:
PHP код:
PlayerTextDrawUseBox(playerid,PH[playerid][14], 0); 
Shouldn't this be "[10]" instead of "[14]"?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)