Jump to content

تصحيح كود زر


SycroX

Recommended Posts

انا مسوي زر

لما ادوس

عليه يفتح لي بوابة

بس

المشكلة لما ادوس البوابة تفتح و تبان لي انتا فتحة

بس

لما البقية يجو تبان لهم قافلة و ما يقدرو يدخلو

ممكن حل الكود اهو

  
addEventHandler("onClientGUIClick", root, 
function () 
     if ( source == od ) then 
moveObject(Door2,1000,-2687.3000488281,1859.1999511719, 1325.3000488281 ) 
moveObject(Door3,1000,-2687.1999511719,1625.6999511719,1325.3000488281 ) 
    exports["guimessages"]:outputClient("#ff0000* #ffff00[ClanWars System] #F98701 Doors Has Opend") 
        elseif ( source == cd ) then 
moveObject(Door2,1000,-2687.3000488281,1859.1999511719, 1320.3000488281 ) 
moveObject(Door3,1000,-2687.1999511719,1625.6999511719,1320.3000488281 ) 
    exports["guimessages"]:outputClient("#ff0000* #ffff00[ClanWars System] #F98701 Doors Has Cloesd") 
    end 
end 
)    
  

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