Maybe this?
--[[-------------------------------------------------
-- client script main
-- @infoauthor iMortal
-- @description: client side script dx joinquit
------------------------------------------------]]--
local textJoin = " "
local textQuit = " "
local textNick = " "
function AbsoluteToRelativ2( X, Y )
local rX, rY = guiGetScreenSize ( )
return math.floor((X/1280)*rX), math.floor((Y/720)*rY)
end
addEventHandler ( "onClientRender", root,
local x1, y1 = AbsoluteToRelativ2( 959,246 )
local x2, y2 = AbsoluteToRelativ2( 956,243 )
local x3, y3 = AbsoluteToRelativ2( 943,217 )
local x4, y4 = AbsoluteToRelativ2( 939,213 )
dxDrawText( textQuit, x1, y1, 1224, 264, tocolor(0,0,0,255),0.6,"bankgothic","left","top",false,false,false)
dxDrawText( textQuit, x2, y2, 1224, 261, tocolor(255,0,0,255),0.6,"bankgothic","left","top",false,false,false)
dxDrawText( textJoin, x3, y3, 1211.0, 235.0,tocolor(0,0,0,255),0.6,"bankgothic","left","top",false,false,false)
dxDrawText( textJoin, x4, y4, 1207.0,231.0,tocolor(0,255,0,255),0.6,"bankgothic","left","top",false,false,false)
end
)