--يوم ادخل البيك اب ما يعرض لي الفنكشن
function drawdx()
jobjoinwindow = dxDrawImage(1072, 209, 208, 408, ":account/login-panel/backf10.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
d1 = dxDrawRectangle(1083, 298, 187, 27, tocolor(0, 1, 0, 176), false)
d2 = dxDrawRectangle(1083, 266, 187, 27, tocolor(137, 255, 137, 191), false)
guiSetVisible(jobjoinwindow,false)
guiSetVisible(d1,false)
guiSetVisible(d2,false)
centerWindow(jobjoinwindow)
closejoinwindow = dxDrawText("1", 1087, 299, 1270, 325, tocolor(255, 255, 255, 255), 1.30, "default-bold", "left", "center", false, false, true, false, false)
joinjobbutton = dxDrawText("2", 1087, 267, 1270, 293, tocolor(255, 255, 255, 255), 1.30, "default-bold", "left", "center", false, false, true, false, false)
end
addEventHandler( "onPickupHit", jobpick, drawdx )