iiv03 Posted May 21, 2019 Share Posted May 21, 2019 (edited) وش سالفه هنا؟ local showText = true local showText2 = false function window() dxDrawImage(261, 102, 758, 516, ":guieditor/images/time.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText("PAGE 1", 298, 137, 488, 181, tocolor(255, 255, 255, 255), 2.00, "default", "center", "center", false, false, false, false, false) dxDrawText("TEXT TEST PAGE1", 383, 323, 898, 486, tocolor(255, 255, 255, showText and 255 or 0), 2.00, "default", "left", "top", false, false, true, false, false) dxDrawText("TEXT TEST PAGE2", 383, 323, 898, 486, tocolor(255, 255, 255, showText2 and 255 or 0), 2.00, "default", "left", "top", false, false, true, false, false) dxDrawText("PAGE2", 488, 137, 678, 181, tocolor(255, 255, 255, 255), 2.00, "default", "center", "center", false, false, false, false, false) if isMouseInPosition(349, 148, 84, 29) then dxDrawLine(352, 181, 430, 180, tocolor(0, 132, 254, 255), 2, false) else dxDrawLine(352, 181, 430, 180, tocolor(0, 132, 254, 0), 2, false) end if isMouseInPosition(541, 148, 84, 29) then dxDrawLine(544, 181, 622, 180, tocolor(0, 132, 254, 255), 2, false) else dxDrawLine(544, 181, 622, 180, tocolor(0, 132, 254, 0), 2, false) end end addEventHandler ( "onClientClick", root, function ( button, state ) if ( button == "left" and state == "down" ) then if ( isMouseInPosition ( 541, 148, 84, 29 ) ) then outputDebugString("test") showText2 = not showText end end end ) كود اذا فتحت اللوحه يجيك النص مباشر اذا ضغطت علي ال TEXT TEST PAGE2 حقه يخفي النص الاول ويجيك النص ثاني ماضبطت ليه؟؟ جربت showText = showText2 مزبطت Edited May 21, 2019 by liwahadri Link to comment
iiv03 Posted May 21, 2019 Author Share Posted May 21, 2019 13 minutes ago, #,xiRocKyz said: ابب اببب Link to comment
Rockyz Posted May 21, 2019 Share Posted May 21, 2019 7 minutes ago, liwahadri said: ابب اببب ؟؟ Link to comment
iiv03 Posted May 21, 2019 Author Share Posted May 21, 2019 (edited) 2 hours ago, #,xiRocKyz said: ؟؟ ي حبيبي انا مسوي كود ابغى حل مشكله التوبيك ذاك حقي مو نفسه Edited May 21, 2019 by liwahadri Link to comment
Rockyz Posted May 21, 2019 Share Posted May 21, 2019 (edited) 19 minutes ago, liwahadri said: ي حبيبي انا مسوي كود ابغى حل مشكله التوبيك ذاك حقي مو نفسه انت تبي تسوي اكثر من زر و كل زر اذا ضغطت عليه يطلع لك كلام مختلف صح ؟ جرب المثال الي عطيتك اياه Edited May 21, 2019 by #,xiRocKyz Link to comment
iiv03 Posted May 21, 2019 Author Share Posted May 21, 2019 8 hours ago, #,xiRocKyz said: انت تبي تسوي اكثر من زر و كل زر اذا ضغطت عليه يطلع لك كلام مختلف صح ؟ جرب المثال الي عطيتك اياه وين مثال لول؟ 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