HUD Text

How would i get a [LUA]draw.DrawText[/LUA] to align perfectly in teh middle of the screen instead of the left or right?

EDIT:
Never mind this can be locked I just used [LUA](ScrW() - (ScrW() * 0.5)) - 50[/LUA]

text_allign_centre?

I tried It didnt work, I dont know why.

That’s because the British English spelling of the word “center” isn’t what the enumeration is called and the enumeration must be upper-case.

Should create what you need:
[lua]
draw.DrawText(“I need to actually read the wiki.”, “HUDNumber5”, ScrW() / 2, ScrH() / 2, Color(255, 0, 0, 255), TEXT_ALIGN_CENTER)
[/lua]

I did use it exactly the way did…