onlinegenc Posted April 7, 2012 Share Posted April 7, 2012 Hi guys; I have dx problem.this time I don't find a cursor position. My code function onClientClick(button,state,aX,aY,wX,wY,wZ,cElement) if button == "left" and state=="up" and panel=="1" then elseif (aX>=135) and (aX<=135+126) and (aY>=sY-294) and (aY<=(sY-294)+20) and dxIstatistik=="1" then executeCommandHandler("nos","nfs") elseif (aX>=94) and (aX<=94+126) and (aY>=sY-274) and (aY<=(sY-274)+20) and dxIstatistik=="1" then executeCommandHandler("nos","normal") elseif (aX>=135) and (aX<=135+120) and (aY>=sY-300) and (aY<=(sY-200)+20) and dxIstatistik=="1" then triggerServerEvent("otomatikGirisDegis",g_Me) elseif (aX>=135) and (aX<=135+126) and (aY>=sY-450) and (aY<=(sY-350)+20) and dxIstatistik=="1" then triggerServerEvent("beniHatirlaDegis",g_Me) elseif (aX>=135) and (aX<=135+126) and (aY>=sY-284) and (aY<=(sY-214)+20) and dxIstatistik=="1" then triggerServerEvent("cikisYap",g_Me) end end addEventHandler("onClientClick",g_Root,onClientClick) I want find following position; Link to comment
Jaysds1 Posted April 7, 2012 Share Posted April 7, 2012 Is the words written using guiCreateLabel if, so, you could make the label clickable. Link to comment
drk Posted April 7, 2012 Share Posted April 7, 2012 Jaysds1, u're kidding us, no? Obviously, it's dx text. GUI Labels don't support these fonts. Link to comment
Jaysds1 Posted April 7, 2012 Share Posted April 7, 2012 Jaysds1, u're kidding us, no? Obviously, it's dx text. GUI Labels don't support these fonts. https://wiki.multitheftauto.com/wiki/Sta ... Font_Names anyways, Instead of doing that, you could make guiCreateLabel over the dx and use it as a button, you don't have to put anything in it. Link to comment
Castillo Posted April 7, 2012 Share Posted April 7, 2012 Jaysds1, u're kidding us, no? Obviously, it's dx text. GUI Labels don't support these fonts. Indeed, they mayn't support them, but you can always use guiCreateFont and then have that font. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now