~Mr.Hassan Posted August 15, 2015 Share Posted August 15, 2015 السلام عليكم ابي اعمل لوحه شراء فيب عملت chekBox بس ابي الاعب لما يضغط عاى الكيك بوكس البوتون يفتح لو ما ضغط ما يفتح وشكرا Link to comment
~Mr.Hassan Posted August 15, 2015 Author Share Posted August 15, 2015 https://www.google.co.il/?gfe_rd=cr&ei= ... #q=chekBox افهمها من هنا ضض Link to comment
iMr.SFA7 Posted August 15, 2015 Share Posted August 15, 2015 قصدك شيك بوكس ؟ guiCheckBoxGetSelected guiSetEnabled Link to comment
~Mr.Hassan Posted August 15, 2015 Author Share Posted August 15, 2015 addEventHandler ( "onClientGUIClick", root, function ( ) if guiCheckBoxGetSelected(GUIEditor.checkbox[2]) == true then guiSetEnabled ( GUIEditor.button[1] , true ) elseif guiSetEnabled ( GUIEditor.button[1] , false) end end ) Link to comment
iMr.SFA7 Posted August 15, 2015 Share Posted August 15, 2015 حط بدل elseif == else وليه حاط ذا الحدث ؟ كيف يضغطه وهو مقفول ؟ Link to comment
H25 Posted August 15, 2015 Share Posted August 15, 2015 حط بدل elseif == elseوليه حاط ذا الحدث ؟ كيف يضغطه وهو مقفول ؟ هذا الحدث مو للأزرار بس + ماحط تحقق اذا ضغطه Link to comment
~Mr.Hassan Posted August 15, 2015 Author Share Posted August 15, 2015 حط بدل elseif == elseوليه حاط ذا الحدث ؟ كيف يضغطه وهو مقفول ؟ هذا الحدث مو للأزرار بس + ماحط تحقق اذا ضغطه سطر 3 Link to comment
iMr.SFA7 Posted August 15, 2015 Share Posted August 15, 2015 (edited) حط بدل elseif == elseوليه حاط ذا الحدث ؟ كيف يضغطه وهو مقفول ؟ هذا الحدث مو للأزرار بس + ماحط تحقق اذا ضغطه سطر 3 اها قصدك اذا حدد ع الشيك بوكس ؟ سوي تحقق انه السورس هو الشيك بوكس if ( source == GUIEditor.checkbox[2] ) then Edited August 20, 2015 by Guest Link to comment
H25 Posted August 15, 2015 Share Posted August 15, 2015 addEventHandler ( "onClientGUIClick", root, function ( ) if (source == GUIEditor.checkbox[2]) then guiSetEnabled ( GUIEditor.button[1] , guiCheckBoxGetSelected(source)) end end ) Link to comment
~Mr.Hassan Posted August 15, 2015 Author Share Posted August 15, 2015 وممكن تقلولي كيف استعمل ذا الفنكشن [url=https://wiki.multitheftauto.com/wiki/XmlCreateFile]https://wiki.multitheftauto.com/wiki/XmlCreateFile[/url] لاني بسوي لما يحط سيرياله وكل المعلومات ويضغط على زر ينتقل على الملف ذا Link to comment
LoOs Posted August 15, 2015 Share Posted August 15, 2015 تستعمل معها اكثر من شيء , مثل , xmlNodeGetChildren xmlLoadFile xmlFindChild xmlCreateChild xmlNodeGetValue xmlNodeSetValue xmlNodeSetAttribute xmlSaveFile او استخدم SQL وخله ينقله لقريد ليست , وتفتح لوحة وتشوفة انت , 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