AB0 HNAD[e] Posted April 10, 2013 Share Posted April 10, 2013 السلآم عليكم ورحمة الله ,, ابي احول ذآ الكود من شيك بوكس آلى image function flyCheck() local checked = guiCheckBoxGetSelected(cW.chFly) if checked then setWorldSpecialPropertyEnabled("aircars", true) else setWorldSpecialPropertyEnabled("aircars", false) end end addEventHandler("onClientGUIClick", cW.chFly, flyCheck, false) فهمتو كيف ؟ يعني هو آذآ ظظغطت على الهذآ شيك بوكس يطير آنآ آبيهة آذآ ظظغط على صورهة يطير الصورهة بنفس آسم آلشيك بوكس وششكرآً Link to comment
MR.S3D Posted April 10, 2013 Share Posted April 10, 2013 function flyCheck() if not isWorldSpecialPropertyEnabled("aircars") then setWorldSpecialPropertyEnabled("aircars", true) else setWorldSpecialPropertyEnabled("aircars", false) end end addEventHandler("onClientGUIClick", cW.chFly, flyCheck, false) cW.chFly -- اسم صورتك Link to comment
S4MuEL Posted April 10, 2013 Share Posted April 10, 2013 addEventHandler("onClientGUIClick",root, function ( ) if ( source == cW.chFly ) then setWorldSpecialPropertyEnabled("aircars", true) else setWorldSpecialPropertyEnabled("aircars", false) end end ) 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