Any way to wrap draw.SimpleTextOutlined

I am trying to make a simple billboard but have stumbled across an issue where by if the server has a long name like most it will stick off the edge like in this picture:

Or on the other hand is there a way to cut it off at the end automatically with a … or something similar,

Here is a snip of my code:

	local pos = self:GetPos()
	local ang = self:GetAngles()
	local slots = game.MaxPlayers()
	local currentplys = player.GetCount()

		draw.SimpleTextOutlined("Welcome to, ".. GetHostName(),"h1",0-675,0-425,Color(0,0,0),0,1,1,Color(0,255,0))

		draw.SimpleTextOutlined(currentplys .."/".. slots .." players","h2",575,425,Color(0,0,0),1,1,1,Color(0,255,0))

What about if you use markup and then you create the outline by iterations of it in x and y

You can use a word wrap function like the one here and use a draw call for each line.

This some-what works, thanks for the advice :slight_smile:

[editline]8th August 2017[/editline]

Thanks for the advice :slight_smile:

[editline]8th August 2017[/editline]

Thanks gonzalolog :slight_smile: