Jump to content

تصحيح كود بسييط جدا


Recommended Posts

السلام عليكم ,,

هذا الكودد

هو وظيفته اني لما اضغط على الزر ينقلني مكان معين

بس لما اضغطه ما ينقلني

      addEventHandler ("onClientGUIClick", getRootElement(), 
function () 
        if source == GUIEditor.button[1] then 
        setElementPosition( source,1923.73804,-2230.80029,2257.52808) 
            triggerServerEvent ("abod", localPlayer) 
                elseif source == GUIEditor.button[2] then  
                            guiSetVisible ( GUIEditor.window[1], false ) 
                showCursor ( false ) 

اظن الخطا من


setElementPosition( source,1923.73804,-2230.80029,2257.52808) 

بس ما اعرف وش اختار بداله

عشان ينقلني

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...