Fassol<3 Posted July 21, 2013 Share Posted July 21, 2013 السلام عليكم انا عملت مود لوحة القوانين وفيه خطأ وانا معرف وين الخطأ اتمنى تساعدوني الكود GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} wnd = guiCreateWindow(0,0,800,599,"~@ قوانين السيرفر @~",false) guiSetAlpha(wnd,1) GUIEditor_TabPanel[1] = guiCreateTabPanel(791,590,0,1,false,wnd) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_TabPanel[2] = guiCreateTabPanel(9,24,782,567,false,wnd) GUIEditor_Tab[2] = guiCreateTab("~@ قوانين السيرفر @~",GUIEditor_TabPanel[2]) GUIEditor_Button[1] = guiCreateButton(15,3,753,54,"السب والشتم = ميوت5 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[2] = guiCreateButton(15,63,753,54,"النشر + التكرار = ميوت 10 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[3] = guiCreateButton(15,123,753,54,"طلبات الأدمنية = ميوت 15 دقيقة",false,GUIEditor_Tab[2]) GUIEditor_Button[4] = guiCreateButton(15,183,753,54,"القتل خارج الساحة = سلاب + فريز(تجميد)",false,GUIEditor_Tab[2]) GUIEditor_Button[5] = guiCreateButton(15,244,753,54,"القتل في البداية + اخراج سيارة في البداية = كيك",false,GUIEditor_Tab[2]) GUIEditor_Button[6] = guiCreateButton(15,305,753,54,"الدبابة + البازوكا + الخلاط = باند 100 سنة",false,GUIEditor_Tab[2]) GUIEditor_Button[7] = guiCreateButton(15,366,753,54,"عكس شارع الدائري = سلاب = سحب السيارة",false,GUIEditor_Tab[2]) GUIEditor_Label[1] = guiCreateLabel(302,455,183,17,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[2]) GUIEditor_Button[8] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[2]) GUIEditor_Tab[3] = guiCreateTab("~@ قوانين الأدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[9] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[3]) GUIEditor_Button[10] = guiCreateButton(15,3,753,54,"التكبر على الزوار = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Label[2] = guiCreateLabel(302,455,183,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[3]) GUIEditor_Button[11] = guiCreateButton(15,63,753,54,"إستخدام لوحة الأدمنية بدون سبب = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[12] = guiCreateButton(15,123,753,54,"طلبات الترقية = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[13] = guiCreateButton(15,183,753,54,"التخريب عن طريق لوحة الأدمنية = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[14] = guiCreateButton(15,244,753,54,"إستخدام لوحة الأدمنية لأمور خاصة = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Tab[4] = guiCreateTab("~@ شروط الحصول على أدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[15] = guiCreateButton(15,3,753,54,"للحصول على مشرف = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[16] = guiCreateButton(15,63,753,54,"للحصول على مراقب = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[17] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[18] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[19] = guiCreateButton(15,183,753,54,"وستستمر الترقية على شرط التواجد + عدم طلب الترقية + نشر",false,GUIEditor_Tab[4]) GUIEditor_Label[3] = guiCreateLabel(66,-11,5,5,"",false,GUIEditor_Tab[4]) GUIEditor_Label[4] = guiCreateLabel(302,455,184,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[4]) GUIEditor_Button[20] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[4]) GUIEditor_Tab[5] = guiCreateTab("~@ مع تحيات @~",GUIEditor_TabPanel[2]) GUIEditor_Label[5] = guiCreateLabel(255,68,326,39,"~@ حـيـاكـم الله في سيرفر حكايم للهجوله عنوان @~",false,GUIEditor_Tab[5]) GUIEditor_Label[6] = guiCreateLabel(308,126,326,43,"~@ الرجاء الإلتزام بالقوانين @~",false,GUIEditor_Tab[5]) GUIEditor_Label[7] = guiCreateLabel(300,179,238,45,"~@ مع تحيات صاحب السيرفر @~",false,GUIEditor_Tab[5]) GUIEditor_Label[8] = guiCreateLabel(273,229,230,58,"~@ تنمنى لكم قضاء وقت ممتع في السيرفر @~",false,GUIEditor_Tab[5]) واذ وجتم الخطأ وصلحتوه أبي لما أحد يضغط على زر ~ إغـلاق @~ هوموجود 3 مرات هنا ابي لما احد يضغطه تقفل النافذة وابي النافذة تنفتح بزر f12 Link to comment
#DRAGON!FIRE Posted July 21, 2013 Share Posted July 21, 2013 (edited) GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} wnd = guiCreateWindow(0,0,800,599,"~@ قوانين السيرفر @~",false) guiSetVisible (wnd,false) guiSetAlpha(wnd,1) GUIEditor_TabPanel[1] = guiCreateTabPanel(791,590,0,1,false,wnd) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_TabPanel[2] = guiCreateTabPanel(9,24,782,567,false,wnd) GUIEditor_Tab[2] = guiCreateTab("~@ قوانين السيرفر @~",GUIEditor_TabPanel[2]) GUIEditor_Button[1] = guiCreateButton(15,3,753,54,"السب والشتم = ميوت5 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[2] = guiCreateButton(15,63,753,54,"النشر + التكرار = ميوت 10 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[3] = guiCreateButton(15,123,753,54,"طلبات الأدمنية = ميوت 15 دقيقة",false,GUIEditor_Tab[2]) GUIEditor_Button[4] = guiCreateButton(15,183,753,54,"القتل خارج الساحة = سلاب + فريز(تجميد)",false,GUIEditor_Tab[2]) GUIEditor_Button[5] = guiCreateButton(15,244,753,54,"القتل في البداية + اخراج سيارة في البداية = كيك",false,GUIEditor_Tab[2]) GUIEditor_Button[6] = guiCreateButton(15,305,753,54,"الدبابة + البازوكا + الخلاط = باند 100 سنة",false,GUIEditor_Tab[2]) GUIEditor_Button[7] = guiCreateButton(15,366,753,54,"عكس شارع الدائري = سلاب = سحب السيارة",false,GUIEditor_Tab[2]) GUIEditor_Label[1] = guiCreateLabel(302,455,183,17,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[2]) GUIEditor_Tab[3] = guiCreateTab("~@ قوانين الأدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[10] = guiCreateButton(15,3,753,54,"التكبر على الزوار = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Label[2] = guiCreateLabel(302,455,183,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[3]) GUIEditor_Button[11] = guiCreateButton(15,63,753,54,"إستخدام لوحة الأدمنية بدون سبب = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[12] = guiCreateButton(15,123,753,54,"طلبات الترقية = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[13] = guiCreateButton(15,183,753,54,"التخريب عن طريق لوحة الأدمنية = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[14] = guiCreateButton(15,244,753,54,"إستخدام لوحة الأدمنية لأمور خاصة = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Tab[4] = guiCreateTab("~@ شروط الحصول على أدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[15] = guiCreateButton(15,3,753,54,"للحصول على مشرف = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[16] = guiCreateButton(15,63,753,54,"للحصول على مراقب = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[17] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[18] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[19] = guiCreateButton(15,183,753,54,"وستستمر الترقية على شرط التواجد + عدم طلب الترقية + نشر",false,GUIEditor_Tab[4]) GUIEditor_Label[3] = guiCreateLabel(66,-11,5,5,"",false,GUIEditor_Tab[4]) GUIEditor_Label[4] = guiCreateLabel(302,455,184,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[4]) GUIEditor_Button[20] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[4]) GUIEditor_Tab[5] = guiCreateTab("~@ مع تحيات @~",GUIEditor_TabPanel[2]) GUIEditor_Label[5] = guiCreateLabel(255,68,326,39,"~@ حـيـاكـم الله في سيرفر حكايم للهجوله عنوان @~",false,GUIEditor_Tab[5]) GUIEditor_Label[6] = guiCreateLabel(308,126,326,43,"~@ الرجاء الإلتزام بالقوانين @~",false,GUIEditor_Tab[5]) GUIEditor_Label[7] = guiCreateLabel(300,179,238,45,"~@ مع تحيات صاحب السيرفر @~",false,GUIEditor_Tab[5]) GUIEditor_Label[8] = guiCreateLabel(273,229,230,58,"~@ تنمنى لكم قضاء وقت ممتع في السيرفر @~",false,GUIEditor_Tab[5]) bindKey("F12","Down",function() guiSetVisible(wnd,not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end) addEventHandler ( "onClientGUIClick", root, function ( ) if source == GUIEditor_Button[20] then guiSetVisible (wnd,false) showCursor (false) end end ) Edited July 21, 2013 by Guest Link to comment
S4MuEL Posted July 21, 2013 Share Posted July 21, 2013 GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} wnd = guiCreateWindow(0,0,800,599,"~@ قوانين السيرفر @~",false) guiSetVisible (wnd,false) guiSetAlpha(wnd,1) GUIEditor_TabPanel[1] = guiCreateTabPanel(791,590,0,1,false,wnd) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_TabPanel[2] = guiCreateTabPanel(9,24,782,567,false,wnd) GUIEditor_Tab[2] = guiCreateTab("~@ قوانين السيرفر @~",GUIEditor_TabPanel[2]) GUIEditor_Button[1] = guiCreateButton(15,3,753,54,"السب والشتم = ميوت5 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[2] = guiCreateButton(15,63,753,54,"النشر + التكرار = ميوت 10 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[3] = guiCreateButton(15,123,753,54,"طلبات الأدمنية = ميوت 15 دقيقة",false,GUIEditor_Tab[2]) GUIEditor_Button[4] = guiCreateButton(15,183,753,54,"القتل خارج الساحة = سلاب + فريز(تجميد)",false,GUIEditor_Tab[2]) GUIEditor_Button[5] = guiCreateButton(15,244,753,54,"القتل في البداية + اخراج سيارة في البداية = كيك",false,GUIEditor_Tab[2]) GUIEditor_Button[6] = guiCreateButton(15,305,753,54,"الدبابة + البازوكا + الخلاط = باند 100 سنة",false,GUIEditor_Tab[2]) GUIEditor_Button[7] = guiCreateButton(15,366,753,54,"عكس شارع الدائري = سلاب = سحب السيارة",false,GUIEditor_Tab[2]) GUIEditor_Label[1] = guiCreateLabel(302,455,183,17,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[2]) GUIEditor_Tab[3] = guiCreateTab("~@ قوانين الأدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[10] = guiCreateButton(15,3,753,54,"التكبر على الزوار = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Label[2] = guiCreateLabel(302,455,183,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[3]) GUIEditor_Button[11] = guiCreateButton(15,63,753,54,"إستخدام لوحة الأدمنية بدون سبب = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[12] = guiCreateButton(15,123,753,54,"طلبات الترقية = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[13] = guiCreateButton(15,183,753,54,"التخريب عن طريق لوحة الأدمنية = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[14] = guiCreateButton(15,244,753,54,"إستخدام لوحة الأدمنية لأمور خاصة = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Tab[4] = guiCreateTab("~@ شروط الحصول على أدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[15] = guiCreateButton(15,3,753,54,"للحصول على مشرف = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[16] = guiCreateButton(15,63,753,54,"للحصول على مراقب = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[17] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[18] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[19] = guiCreateButton(15,183,753,54,"وستستمر الترقية على شرط التواجد + عدم طلب الترقية + نشر",false,GUIEditor_Tab[4]) GUIEditor_Label[3] = guiCreateLabel(66,-11,5,5,"",false,GUIEditor_Tab[4]) GUIEditor_Label[4] = guiCreateLabel(302,455,184,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[4]) GUIEditor_Button[20] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[4]) GUIEditor_Tab[5] = guiCreateTab("~@ مع تحيات @~",GUIEditor_TabPanel[2]) GUIEditor_Label[5] = guiCreateLabel(255,68,326,39,"~@ حـيـاكـم الله في سيرفر حكايم للهجوله عنوان @~",false,GUIEditor_Tab[5]) GUIEditor_Label[6] = guiCreateLabel(308,126,326,43,"~@ الرجاء الإلتزام بالقوانين @~",false,GUIEditor_Tab[5]) GUIEditor_Label[7] = guiCreateLabel(300,179,238,45,"~@ مع تحيات صاحب السيرفر @~",false,GUIEditor_Tab[5]) GUIEditor_Label[8] = guiCreateLabel(273,229,230,58,"~@ تنمنى لكم قضاء وقت ممتع في السيرفر @~",false,GUIEditor_Tab[5]) bindKey("F12","Down",function() guiSetVisible(wnd,not wnd)) showCursor(guiGetVisible(wnd)) end) addEventHandler ( "onClientGUIClick", root, function ( ) if source == GUIEditor_Button[20] then guiSetVisible (wnd,false) showCursor (false) end end ) قوس نآقص .. سطر 45 ! guiSetVisible(wnd,not wnd)) > guiSetVisible(wnd,not (wnd)) Link to comment
#DRAGON!FIRE Posted July 21, 2013 Share Posted July 21, 2013 (edited) # : مشكرو على الملاحظة تم التعديل - + كلامك غلط Edited July 21, 2013 by Guest Link to comment
فاّرس Posted July 21, 2013 Share Posted July 21, 2013 GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} wnd = guiCreateWindow(0,0,800,599,"~@ قوانين السيرفر @~",false) guiSetAlpha(wnd,1) GUIEditor_TabPanel[1] = guiCreateTabPanel(791,590,0,1,false,wnd) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_TabPanel[2] = guiCreateTabPanel(9,24,782,567,false,wnd) GUIEditor_Tab[2] = guiCreateTab("~@ قوانين السيرفر @~",GUIEditor_TabPanel[2]) GUIEditor_Button[1] = guiCreateButton(15,3,753,54,"السب والشتم = ميوت5 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[2] = guiCreateButton(15,63,753,54,"النشر + التكرار = ميوت 10 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[3] = guiCreateButton(15,123,753,54,"طلبات الأدمنية = ميوت 15 دقيقة",false,GUIEditor_Tab[2]) GUIEditor_Button[4] = guiCreateButton(15,183,753,54,"القتل خارج الساحة = سلاب + فريز(تجميد)",false,GUIEditor_Tab[2]) GUIEditor_Button[5] = guiCreateButton(15,244,753,54,"القتل في البداية + اخراج سيارة في البداية = كيك",false,GUIEditor_Tab[2]) GUIEditor_Button[6] = guiCreateButton(15,305,753,54,"الدبابة + البازوكا + الخلاط = باند 100 سنة",false,GUIEditor_Tab[2]) GUIEditor_Button[7] = guiCreateButton(15,366,753,54,"عكس شارع الدائري = سلاب = سحب السيارة",false,GUIEditor_Tab[2]) GUIEditor_Label[1] = guiCreateLabel(302,455,183,17,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[2]) GUIEditor_Button[8] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[2]) GUIEditor_Tab[3] = guiCreateTab("~@ قوانين الأدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[9] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[3]) GUIEditor_Button[10] = guiCreateButton(15,3,753,54,"التكبر على الزوار = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Label[2] = guiCreateLabel(302,455,183,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[3]) GUIEditor_Button[11] = guiCreateButton(15,63,753,54,"إستخدام لوحة الأدمنية بدون سبب = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[12] = guiCreateButton(15,123,753,54,"طلبات الترقية = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[13] = guiCreateButton(15,183,753,54,"التخريب عن طريق لوحة الأدمنية = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[14] = guiCreateButton(15,244,753,54,"إستخدام لوحة الأدمنية لأمور خاصة = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Tab[4] = guiCreateTab("~@ شروط الحصول على أدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[15] = guiCreateButton(15,3,753,54,"للحصول على مشرف = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[16] = guiCreateButton(15,63,753,54,"للحصول على مراقب = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[17] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[18] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[19] = guiCreateButton(15,183,753,54,"وستستمر الترقية على شرط التواجد + عدم طلب الترقية + نشر",false,GUIEditor_Tab[4]) GUIEditor_Label[3] = guiCreateLabel(66,-11,5,5,"",false,GUIEditor_Tab[4]) GUIEditor_Label[4] = guiCreateLabel(302,455,184,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[4]) GUIEditor_Button[20] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[4]) GUIEditor_Tab[5] = guiCreateTab("~@ مع تحيات @~",GUIEditor_TabPanel[2]) GUIEditor_Label[5] = guiCreateLabel(255,68,326,39,"~@ حـيـاكـم الله في سيرفر حكايم للهجوله عنوان @~",false,GUIEditor_Tab[5]) GUIEditor_Label[6] = guiCreateLabel(308,126,326,43,"~@ الرجاء الإلتزام بالقوانين @~",false,GUIEditor_Tab[5]) GUIEditor_Label[7] = guiCreateLabel(300,179,238,45,"~@ مع تحيات صاحب السيرفر @~",false,GUIEditor_Tab[5]) GUIEditor_Label[8] = guiCreateLabel(273,229,230,58,"~@ تنمنى لكم قضاء وقت ممتع في السيرفر @~",false,GUIEditor_Tab[5]) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor_Button[8] or source == GUIEditor_Button[9] or source == GUIEditor_Button[20] then guiSetVisible(wnd,false) showCursor(false) end end ) bindKey('F12','down', function() guiSetVisible(wnd,not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end ) Link to comment
Fassol<3 Posted July 21, 2013 Author Share Posted July 21, 2013 The Best/ مشكووووور أخوي + x1x.wma أبي لما احد يفتحح اللوحة يطلع صوت ممكن الكود + انا عندي ملف الصووت واسمه ملف meta client GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} wnd = guiCreateWindow(0,0,800,599,"~@ قوانين السيرفر @~",false) guiSetAlpha(wnd,1) GUIEditor_TabPanel[1] = guiCreateTabPanel(791,590,0,1,false,wnd) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_TabPanel[2] = guiCreateTabPanel(9,24,782,567,false,wnd) GUIEditor_Tab[2] = guiCreateTab("~@ قوانين السيرفر @~",GUIEditor_TabPanel[2]) GUIEditor_Button[1] = guiCreateButton(15,3,753,54,"السب والشتم = ميوت5 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[2] = guiCreateButton(15,63,753,54,"النشر + التكرار = ميوت 10 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[3] = guiCreateButton(15,123,753,54,"طلبات الأدمنية = ميوت 15 دقيقة",false,GUIEditor_Tab[2]) GUIEditor_Button[4] = guiCreateButton(15,183,753,54,"القتل خارج الساحة = سلاب + فريز(تجميد)",false,GUIEditor_Tab[2]) GUIEditor_Button[5] = guiCreateButton(15,244,753,54,"القتل في البداية + اخراج سيارة في البداية = كيك",false,GUIEditor_Tab[2]) GUIEditor_Button[6] = guiCreateButton(15,305,753,54,"الدبابة + البازوكا + الخلاط = باند 100 سنة",false,GUIEditor_Tab[2]) GUIEditor_Button[7] = guiCreateButton(15,366,753,54,"عكس شارع الدائري = سلاب = سحب السيارة",false,GUIEditor_Tab[2]) GUIEditor_Label[1] = guiCreateLabel(302,455,183,17,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[2]) GUIEditor_Button[8] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[2]) GUIEditor_Tab[3] = guiCreateTab("~@ قوانين الأدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[9] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[3]) GUIEditor_Button[10] = guiCreateButton(15,3,753,54,"التكبر على الزوار = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Label[2] = guiCreateLabel(302,455,183,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[3]) GUIEditor_Button[11] = guiCreateButton(15,63,753,54,"إستخدام لوحة الأدمنية بدون سبب = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[12] = guiCreateButton(15,123,753,54,"طلبات الترقية = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[13] = guiCreateButton(15,183,753,54,"التخريب عن طريق لوحة الأدمنية = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[14] = guiCreateButton(15,244,753,54,"إستخدام لوحة الأدمنية لأمور خاصة = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Tab[4] = guiCreateTab("~@ شروط الحصول على أدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[15] = guiCreateButton(15,3,753,54,"للحصول على مشرف = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[16] = guiCreateButton(15,63,753,54,"للحصول على مراقب = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[17] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[18] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[19] = guiCreateButton(15,183,753,54,"وستستمر الترقية على شرط التواجد + عدم طلب الترقية + نشر",false,GUIEditor_Tab[4]) GUIEditor_Label[3] = guiCreateLabel(66,-11,5,5,"",false,GUIEditor_Tab[4]) GUIEditor_Label[4] = guiCreateLabel(302,455,184,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[4]) GUIEditor_Button[20] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[4]) GUIEditor_Tab[5] = guiCreateTab("~@ مع تحيات @~",GUIEditor_TabPanel[2]) GUIEditor_Label[5] = guiCreateLabel(255,68,326,39,"~@ حـيـاكـم الله في سيرفر حكايم للهجوله عنوان @~",false,GUIEditor_Tab[5]) GUIEditor_Label[6] = guiCreateLabel(308,126,326,43,"~@ الرجاء الإلتزام بالقوانين @~",false,GUIEditor_Tab[5]) GUIEditor_Label[7] = guiCreateLabel(300,179,238,45,"~@ مع تحيات صاحب السيرفر @~",false,GUIEditor_Tab[5]) GUIEditor_Label[8] = guiCreateLabel(273,229,230,58,"~@ تنمنى لكم قضاء وقت ممتع في السيرفر @~",false,GUIEditor_Tab[5]) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor_Button[8] or source == GUIEditor_Button[9] or source == GUIEditor_Button[20] then guiSetVisible(wnd,false) showCursor(false) end end ) bindKey('F12','down', function() guiSetVisible(wnd,not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end ) Link to comment
فاّرس Posted July 21, 2013 Share Posted July 21, 2013 ضيف الكود لفتح النافذه , playSound('x1x.wma') Meta : Link to comment
Fassol<3 Posted July 21, 2013 Author Share Posted July 21, 2013 اظن الكود قريب من هذا الكود local sound = playSound("x1x.wma") setSoundVolume(sound, 1) end end انا مدري كامل ولا ناقص Link to comment
Fassol<3 Posted July 21, 2013 Author Share Posted July 21, 2013 ؟؟؟؟؟؟؟؟؟؟؟؟ وين رحتوا Link to comment
فاّرس Posted July 21, 2013 Share Posted July 21, 2013 خل الكود كذا, bindKey('F12','down', function() guiSetVisible(wnd,not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) playSound('x1x.wma') end ) Link to comment
فاّرس Posted July 21, 2013 Share Posted July 21, 2013 ^ الله يعافيك + الكود بيشتغل اذا قفلت النافذه وفتحته ذذ اذا تبيه بس اذا فتحت النافذه خليه كذا, bindKey('F12','down', function() if guiGetVisible(Window) == false then guiSetVisible(Window,true) showCursor(true) if isElement(sound) then destroyElement(sound) sound = nil end sound = playSound('x1x.wma') else guiSetVisible(Window,false) showCursor(false) end end ) Link to comment
Fassol<3 Posted July 22, 2013 Author Share Posted July 22, 2013 هع لما اشغل السكربت اكيد بشتغل بعدين اضغط اغلاق ويقفل واضغط اف12 يطلع السهم والصوت فقط اللوحة ما تفتح Link to comment
Fassol<3 Posted July 22, 2013 Author Share Posted July 22, 2013 لازم اذا بأفتح اللوحة اضغط ريستارت او ستارت من لوحة الادمنية Link to comment
فاّرس Posted July 22, 2013 Share Posted July 22, 2013 ليه وش المشكله ذذ؟ ما اشوف الكود في خطأ ؟! 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