Jump to content

I Have dx problem 2?


Recommended Posts

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;

45thf.jpg

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...