drawString "center" doesn't like newline.

Status
Not open for further replies.

Lat'

Absolute territory where
Kart Krew™️
Using drawString with "center" alignment doesn't seem to take new lines into account when displaying those and instead keeps shifting the entire string to the left.

Code:
hud.add(function(v, p)
	v.drawString(160, 90, "Nice drawstring you got th \noh no help. \nit's getting worse help", V_ALLOWLOWERCASE, "center")
end)
results in
attachment.php
 

Attachments

  • srb20522.png
    srb20522.png
    97.2 KB · Views: 452
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top