local sw,sh = guiGetScreenSize()
local spacer = dxGetFontHeight(1.2,"default")
local name = ""
local splashpath = ""
local text = ""
function draw()
local dg = dxDrawImage(sw*.1,sh*.65,sw*.900,sh*.600,"tt.png")
local nm = dxDrawText(name,sw*.3,sh*.85)
local spl = dxDrawImage(sw*.12,sh*.72,sw*.200,sh*.400,splashpath)
local txt = dxDrawText(text,sw*.29,sh*.90+spacer)
end
function drawDialogue(splashpath,name,text)
name = "bartender"
splashpath = "bartender.png"
text = "test"
addEventHandler("onClientRender",root,draw)
end
drawDialogue("bartender.png","bartender","testing the shoots")