jaberxpro Posted October 12, 2015 Share Posted October 12, 2015 (edited) صممت لوحة تحكم اللاعب مثل قطع الرأس واخفاء الشات واشياء اخرى صممت زر ابي لما الاعب يضغط الزر تفتح له لوحة الريبورت=لوحة الشكاوي Edited October 29, 2015 by Guest Link to comment
' A F . Posted October 12, 2015 Share Posted October 12, 2015 شوف هاذا مثأل بسيط يوم يكتب بأف 8 لوحة تفتح له لوحة الشكأوي addCommandHandler('لوحة', function ( ) executeCommandHandler('report') end) Link to comment
jaberxpro Posted October 12, 2015 Author Share Posted October 12, 2015 انا جديد بالبرمجة هل هذا الكود صحيح؟ addCommandHandler('onClientGUIClick', function ( ) if ( source == GUIEditor.button[4] ) then executeCommandHandler('report') Link to comment
GraveDigger. Posted October 12, 2015 Share Posted October 12, 2015 انا جديد بالبرمجةهل هذا الكود صحيح؟ addCommandHandler('onClientGUIClick', function ( ) if ( source == GUIEditor.button[4] ) then executeCommandHandler('report') تمام ضيف الاغلاق و بكدة خلاص Link to comment
jaberxpro Posted October 12, 2015 Author Share Posted October 12, 2015 انا جديد بالبرمجةهل هذا الكود صحيح؟ addCommandHandler('onClientGUIClick', function ( ) if ( source == GUIEditor.button[4] ) then executeCommandHandler('report') تمام ضيف الاغلاق و بكدة خلاص اسف نسيت الاغلاق شكراً نبهتني Link to comment
#DRAGON!FIRE Posted October 12, 2015 Share Posted October 12, 2015 addEventHandler ( 'onClientGUIClick', resourceRoot, function ( ) if ( source == GUIEditor.button[4] ) then executeCommandHandler('report') end end ) Link to comment
jaberxpro Posted October 13, 2015 Author Share Posted October 13, 2015 شكرا نجحت كيف اخلي الدي اكس تفتح بزر؟ addEventHandler("onClientRender", root, function() dxDrawRectangle(121, 37, 598, 445, tocolor(41, 198, 212, 150), true) dxDrawText("لوحة قوانين ", 383, 41, 615, 73, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawRectangle(148, 100, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(499, 100, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(499, 247, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(499, 399, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(148, 247, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(148, 399, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawText("السب=ميوت 10 دقائق", 184, 110, 356, 153, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("النشر=باند مؤبد", 199, 257, 371, 300, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("التهكير باند مؤبد", 199, 407, 371, 450, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("طلب رتبة=ميوت 10 دقائق", 530, 114, 702, 157, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("التخريب=باند 1 ساعة", 537, 257, 709, 300, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("تخريب الشات=ميوت 10 دقائق", 513, 417, 685, 460, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("Crated By ja[b]er[X]pro", 348, 63, 540, 117, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) end ) Link to comment
' A F . Posted October 13, 2015 Share Posted October 13, 2015 شوف حأول انت removeEventHandler addEventHandler showCursor bindKey Link to comment
TAPL Posted October 14, 2015 Share Posted October 14, 2015 https://forum.multitheftauto.com/viewtopic.php?f=160&t=93483 Link to comment
Me[Z]oO Posted October 14, 2015 Share Posted October 14, 2015 (edited) استخدم executeCommandHandler addEventHandler onClientGUIClick Edited October 14, 2015 by Guest Link to comment
Me[Z]oO Posted October 14, 2015 Share Posted October 14, 2015 شكرا نجحتكيف اخلي الدي اكس تفتح بزر؟ addEventHandler("onClientRender", root, function() dxDrawRectangle(121, 37, 598, 445, tocolor(41, 198, 212, 150), true) dxDrawText("لوحة قوانين ", 383, 41, 615, 73, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawRectangle(148, 100, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(499, 100, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(499, 247, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(499, 399, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(148, 247, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(148, 399, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawText("السب=ميوت 10 دقائق", 184, 110, 356, 153, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("النشر=باند مؤبد", 199, 257, 371, 300, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("التهكير باند مؤبد", 199, 407, 371, 450, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("طلب رتبة=ميوت 10 دقائق", 530, 114, 702, 157, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("التخريب=باند 1 ساعة", 537, 257, 709, 300, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("تخريب الشات=ميوت 10 دقائق", 513, 417, 685, 460, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("Crated By ja[b]er[X]pro", 348, 63, 540, 117, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) end ) استخدم removeEventHandler addEventHandler bindKey Link to comment
' A F . Posted October 14, 2015 Share Posted October 14, 2015 شكرا نجحتكيف اخلي الدي اكس تفتح بزر؟ addEventHandler("onClientRender", root, function() dxDrawRectangle(121, 37, 598, 445, tocolor(41, 198, 212, 150), true) dxDrawText("لوحة قوانين ", 383, 41, 615, 73, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawRectangle(148, 100, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(499, 100, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(499, 247, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(499, 399, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(148, 247, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawRectangle(148, 399, 186, 51, tocolor(0, 0, 0, 150), true) dxDrawText("السب=ميوت 10 دقائق", 184, 110, 356, 153, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("النشر=باند مؤبد", 199, 257, 371, 300, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("التهكير باند مؤبد", 199, 407, 371, 450, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("طلب رتبة=ميوت 10 دقائق", 530, 114, 702, 157, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("التخريب=باند 1 ساعة", 537, 257, 709, 300, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("تخريب الشات=ميوت 10 دقائق", 513, 417, 685, 460, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawText("Crated By ja[b]er[X]pro", 348, 63, 540, 117, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) end ) استخدم removeEventHandler addEventHandler bindKey ؟ رأجع ردي فوق يعني لأزم ترد ؟ Link to comment
jaberxpro Posted October 29, 2015 Author Share Posted October 29, 2015 شكرالكم على المساعدة ونجحت شكرا 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