I'm working with dxDraw now, and I'm trying to make it so you can press a piece of text so it triggers something else.
I neally got it to work, but I need it so it works when I click on the dxDrawText, because at the moment, the GUI appears when I click anywhere on the screen. Please help me.
dxDrawText ( "Chheseseseses", 050, screenHeight - 530, screenWidth, screenHeight, tocolor ( 0,0,0, 255 ), 5, "sans" )
function news(clickedElement)
if (clickedElement) then
addEventHandler("onClientRender",rootElement, serverBoxDesign)
end
end
addEventHandler ( "onClientClick", getRootElement(), news )