Jump to content

طلب كود لوحة الدي اكس اتمنى الدخول


Recommended Posts

  • Replies 69
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

امسح

guiSetInputEnabled (guiGetVisible(wnd))

من كودك

او شوف ردي فوق

انا نسخت كودك كامل ولصقته

سويت سيرفر وكلنت

ونفس الشئ ماتتقفل اللوحة

جرب الاكواد عشان تتأكد

Link to comment
امسح

guiSetInputEnabled (guiGetVisible(wnd))

من كودك

او شوف ردي فوق

انا نسخت كودك كامل ولصقته

سويت سيرفر وكلنت

ونفس الشئ ماتتقفل اللوحة

جرب الاكواد عشان تتأكد

Link to comment

@ExTra

اول شيء خليها متغير

يعني كذا

  
  
  
  
    function DX() -- نسوي متغير واسمه DX 
        dxDrawLine(314 - 1, 99 - 1, 314 - 1, 618, tocolor(254, 0, 0, 224), 1, false) 
        dxDrawLine(1001, 99 - 1, 314 - 1, 99 - 1, tocolor(254, 0, 0, 224), 1, false) 
        dxDrawLine(314 - 1, 618, 1001, 618, tocolor(254, 0, 0, 224), 1, false) 
        dxDrawLine(1001, 618, 1001, 99 - 1, tocolor(254, 0, 0, 224), 1, false) 
        dxDrawRectangle(314, 99, 687, 519, tocolor(0, 0, 0, 224), false) 
        dxDrawLine(481 - 1, 117 - 1, 481 - 1, 206, tocolor(229, 0, 0, 218), 1, false) 
        dxDrawLine(836, 117 - 1, 481 - 1, 117 - 1, tocolor(229, 0, 0, 218), 1, false) 
        dxDrawLine(481 - 1, 206, 836, 206, tocolor(229, 0, 0, 218), 1, false) 
        dxDrawLine(836, 206, 836, 117 - 1, tocolor(229, 0, 0, 218), 1, false) 
        dxDrawRectangle(481, 117, 355, 89, tocolor(0, 0, 0, 218), false) 
        dxDrawText("Test Panel dx ", 481, 116, 836, 206, tocolor(255, 255, 255, 255), 3.00, "default", "center", "center", false, false, false, false, false) 
        dxDrawLine(314 - 1, 265 - 1, 314 - 1, 320, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(510, 265 - 1, 314 - 1, 265 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(314 - 1, 320, 510, 320, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(510, 320, 510, 265 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawRectangle(314, 265, 196, 55, tocolor(0, 0, 0, 218), false) 
        dxDrawLine(805 - 1, 265 - 1, 805 - 1, 320, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(1001, 265 - 1, 805 - 1, 265 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(805 - 1, 320, 1001, 320, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(1001, 320, 1001, 265 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawRectangle(805, 265, 196, 55, tocolor(0, 0, 0, 218), false) 
        dxDrawLine(805 - 1, 397 - 1, 805 - 1, 452, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(1001, 397 - 1, 805 - 1, 397 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(805 - 1, 452, 1001, 452, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(1001, 452, 1001, 397 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawRectangle(805, 397, 196, 55, tocolor(0, 0, 0, 218), false) 
        dxDrawLine(314 - 1, 397 - 1, 314 - 1, 452, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(510, 397 - 1, 314 - 1, 397 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(314 - 1, 452, 510, 452, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(510, 452, 510, 397 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawRectangle(314, 397, 196, 55, tocolor(0, 0, 0, 218), false) 
        dxDrawLine(1000, 480, 313, 481, tocolor(141, 99, 71, 218), 1, false) 
end 
addEventHandler("onClientRender", root,DX) -- نضيف المتغير في نهاية الحدث 
  
-- اما بنسبة لكود الفتح  
bindKey("F6","down" -- نحط وضيفه بيند كي عشان يفتح بزر 
function () -- نسوي وظيفه 
if addEventHandler("onClientRender", root, DX) then -- نتحقق انه موجود 
removeEventHandler("onClientRender", root, DX) -- نحذفه 
showCursor(false) 
else  
addEventHandler("onClientRender", root, DX) 
showCursor(true) 
end 
end 
) 
  

Link to comment

@ExTra

اول شيء خليها متغير

يعني كذا

  
  
  
  
    function DX() -- نسوي متغير واسمه DX 
        dxDrawLine(314 - 1, 99 - 1, 314 - 1, 618, tocolor(254, 0, 0, 224), 1, false) 
        dxDrawLine(1001, 99 - 1, 314 - 1, 99 - 1, tocolor(254, 0, 0, 224), 1, false) 
        dxDrawLine(314 - 1, 618, 1001, 618, tocolor(254, 0, 0, 224), 1, false) 
        dxDrawLine(1001, 618, 1001, 99 - 1, tocolor(254, 0, 0, 224), 1, false) 
        dxDrawRectangle(314, 99, 687, 519, tocolor(0, 0, 0, 224), false) 
        dxDrawLine(481 - 1, 117 - 1, 481 - 1, 206, tocolor(229, 0, 0, 218), 1, false) 
        dxDrawLine(836, 117 - 1, 481 - 1, 117 - 1, tocolor(229, 0, 0, 218), 1, false) 
        dxDrawLine(481 - 1, 206, 836, 206, tocolor(229, 0, 0, 218), 1, false) 
        dxDrawLine(836, 206, 836, 117 - 1, tocolor(229, 0, 0, 218), 1, false) 
        dxDrawRectangle(481, 117, 355, 89, tocolor(0, 0, 0, 218), false) 
        dxDrawText("Test Panel dx ", 481, 116, 836, 206, tocolor(255, 255, 255, 255), 3.00, "default", "center", "center", false, false, false, false, false) 
        dxDrawLine(314 - 1, 265 - 1, 314 - 1, 320, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(510, 265 - 1, 314 - 1, 265 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(314 - 1, 320, 510, 320, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(510, 320, 510, 265 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawRectangle(314, 265, 196, 55, tocolor(0, 0, 0, 218), false) 
        dxDrawLine(805 - 1, 265 - 1, 805 - 1, 320, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(1001, 265 - 1, 805 - 1, 265 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(805 - 1, 320, 1001, 320, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(1001, 320, 1001, 265 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawRectangle(805, 265, 196, 55, tocolor(0, 0, 0, 218), false) 
        dxDrawLine(805 - 1, 397 - 1, 805 - 1, 452, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(1001, 397 - 1, 805 - 1, 397 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(805 - 1, 452, 1001, 452, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(1001, 452, 1001, 397 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawRectangle(805, 397, 196, 55, tocolor(0, 0, 0, 218), false) 
        dxDrawLine(314 - 1, 397 - 1, 314 - 1, 452, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(510, 397 - 1, 314 - 1, 397 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(314 - 1, 452, 510, 452, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawLine(510, 452, 510, 397 - 1, tocolor(213, 0, 0, 218), 1, false) 
        dxDrawRectangle(314, 397, 196, 55, tocolor(0, 0, 0, 218), false) 
        dxDrawLine(1000, 480, 313, 481, tocolor(141, 99, 71, 218), 1, false) 
end 
addEventHandler("onClientRender", root,DX) -- نضيف المتغير في نهاية الحدث 
  
-- اما بنسبة لكود الفتح  
bindKey("F6","down" -- نحط وضيفه بيند كي عشان يفتح بزر 
function () -- نسوي وظيفه 
if addEventHandler("onClientRender", root, DX) then -- نتحقق انه موجود 
removeEventHandler("onClientRender", root, DX) -- نحذفه 
showCursor(false) 
else  
addEventHandler("onClientRender", root, DX) 
showCursor(true) 
end 
end 
) 
  

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...