Jump to content

sho8

Members
  • Posts

    33
  • Joined

  • Last visited

Details

  • Gang
    [ Q.1 ]

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

sho8's Achievements

Rat

Rat (9/54)

0

Reputation

  1. السلاام عليهمم نبدي باسم الله بسم الله الرحمن الرحيم جايبلكم مود الشيلات من تصميمي الحمدالله مابي اكذب عليكم ماستغرق مني وقت يمكن ساعتين مادري اذا لازم صوره ولا لا لاكن اذا لازم اكتبولي ماشفرت المود عشان الناس تتعلم دوكم الرابط http://up.top4top.net/downloadf-624k6f1-zip.html
  2. بسم الله الرحمن الرحيم والصلاة والسلام على اشرف الانبياء والمرسلين , نبينا محمد وعلى اله وصحبة اجمعين , سوف اشرح لهذا اليوم شرح توسيط نافذة دي اكس , طبعا تحتاج الى , guiGetScreenSize والى مقاس شاشتك , كيف تجلب مقاس شاشتك ؟ عن طريق الذهاب الى اللعبة ثم الى الاعدادات ثم الى الفيديو وستجد المقاس مثل هكذا 1440x900 ويجب عليك جلب مقاس الشاشة التي صنع بها اللوحة , او النافذة , لان لن تستطيع تثبيت اللوحة دونها , الا بمحاولة متكررة وقد تكون طويلة لكثرة مقاس الشاشات , اول شيء سنجلب لوحة عادية لايوجد لها توسيط function Tap1_Dx () dxDrawRectangle(319, 109, 757, 682, tocolor(0, 0, 0, 130), false) dxDrawRectangle(319, 63, 757, 46, tocolor(1, 13, 253, 130), false) dxDrawRectangle(573, 231, 143, 32, tocolor(254, 254, 254, 170), false) dxDrawRectangle(734, 235, 95, 24, tocolor(3, 21, 245, 130), false) dxDrawText(".:[ اعطاء ]:.", 741, 237, 829, 259, tocolor(255, 255, 255, 255), 1.50, "default-bold", "left", "top", false, false, false, false, false) dxDrawRectangle(486, 132, 127, 37, tocolor(3, 21, 245, 130), false) dxDrawRectangle(813, 132, 127, 37, tocolor(3, 21, 245, 130), false) dxDrawText(".:[ Tap 1 ]:.", 493, 131, 618, 168, tocolor(255, 255, 255, 255), 0.70, "bankgothic", "left", "center", false, false, false, false, false) dxDrawText(".:[ Tap 2 ]:.", 819, 132, 944, 169, tocolor(255, 255, 255, 255), 0.70, "bankgothic", "left", "center", false, false, false, false, false) dxDrawRectangle(572, 334, 144, 32, tocolor(254, 254, 254, 170), false) dxDrawRectangle(734, 338, 98, 25, tocolor(3, 21, 245, 130), false) dxDrawText(".:[ توزيع ]:.", 744, 338, 841, 362, tocolor(255, 255, 255, 255), 1.50, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("عند ضغطك لاعطاء سيتم اعطاء الشخص المحدد المال", 555, 288, 687, 312, tocolor(83, 254, 23, 246), 0.25, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("عند ضغطك لتوزيع سيتم توزيع المال للكل", 578, 386, 710, 410, tocolor(254, 22, 22, 246), 0.25, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("عند تحديد السلاح سيتم اعطاء الاعب المحدد مباشرة", 779, 475, 911, 499, tocolor(51, 60, 247, 246), 0.25, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(".:[ Competitions Mod ]:.", 546, 69, 1059, 104, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) end ثم نضرب العدد بمقاس الشاشة , واذا كان x نضربه بالعرض وان كان y نضربة بالطول وهكذا , ثم تصبح النافذة هكذا , local x,y = guiGetScreenSize() function Tap1_Dx () dxDrawRectangle(319*x/1440, 109*y/900, 757*x/1440, 682*y/900, tocolor(0, 0, 0, 130), false) dxDrawRectangle(319*x/1440, 63*y/900, 757*x/1440, 46*y/900, tocolor(1, 13, 253, 130), false) dxDrawRectangle(573*x/1440, 231*y/900, 143*x/1440, 32*y/900, tocolor(254, 254, 254, 170), false) dxDrawRectangle(734*x/1440, 235*y/900, 95*x/1440, 24*y/900, tocolor(3, 21, 245, 130), false) dxDrawText(".:[ اعطاء ]:.", 741*x/1440, 237*y/900, 829*x/1440, 259*y/900, tocolor(255, 255, 255, 255), 1.50*x/1440, "default-bold", "left", "top", false, false, false, false, false) dxDrawRectangle(486*x/1440, 132*y/900, 127*x/1440, 37*y/900, tocolor(3, 21, 245, 130), false) dxDrawRectangle(813*x/1440, 132*y/900, 127*x/1440, 37*x/900, tocolor(3, 21, 245, 130), false) dxDrawText(".:[ Tap 1 ]:.", 493*x/1440, 131*y/900, 618*x/1440, 168*y/900, tocolor(255, 255, 255, 255), 0.70*x/1440, "bankgothic", "left", "center", false, false, false, false, false) dxDrawText(".:[ Tap 2 ]:.", 819*x/1440, 132*y/900, 944*x/1440, 169*y/900, tocolor(255, 255, 255, 255), 0.70*x/1440, "bankgothic", "left", "center", false, false, false, false, false) dxDrawRectangle(572*x/1440, 334*x/900, 144*x/1440, 32*x/900, tocolor(254, 254, 254, 170), false) dxDrawRectangle(734*x/1440, 338*y/900, 98*x/1440, 25*x/900, tocolor(3, 21, 245, 130), false) dxDrawText(".:[ توزيع ]:.", 744*x/1440, 338*y/900, 841*x/1440, 362*y/900, tocolor(255, 255, 255, 255), 1.50, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("عند ضغطك لاعطاء سيتم اعطاء الشخص المحدد المال", 555*x/1440, 288*y/900, 687*x/1440, 312*y/900, tocolor(83, 254, 23, 246), 0.25*x/1440, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("عند ضغطك لتوزيع سيتم توزيع المال للكل", 578*x/1440, 386*y/900, 710*x/1440, 410*y/900, tocolor(254, 22, 22, 246), 0.25*x/1440, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("عند تحديد السلاح سيتم اعطاء الاعب المحدد مباشرة", 779*x/1440, 475*y/900, 911*x/1440, 499*x/900, tocolor(51, 60, 247, 246), 0.25*x/1440, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(".:[ Competitions Mod ]:.", 546*x/1440, 69*y/900, 1059*x/1440, 104*y/900, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) end ^ هذه طريقة لتوسيط الشاشة , بدل 1440 و 900 بمقاس شاشتك بالعرض والطول يوجد طريقة اخرى وهي السهله , الا وهي تعريف مقاس الشاشة لكي لاتحتاج الى اعادة كتابتها , مثل هكذا local cx,cy = 1440,900 وثم نضعها في النافذة فتصبح هكذا local x,y = guiGetScreenSize() local cx,cy = 1440,900 function Tap1_Dx () dxDrawRectangle(319*x/cx, 109*y/cy, 757*x/cx, 682*y/cy, tocolor(0, 0, 0, 130), false) dxDrawRectangle(319*x/cx, 63*y/cy, 757*x/cx, 46*y/cy, tocolor(1, 13, 253, 130), false) dxDrawRectangle(573*x/cx, 231*y/cy, 143*x/cx, 32*y/cy, tocolor(254, 254, 254, 170), false) dxDrawRectangle(734*x/cx, 235*y/cy, 95*x/cx, 24*y/cy, tocolor(3, 21, 245, 130), false) dxDrawText(".:[ اعطاء ]:.", 741*x/cx, 237*y/cy, 829*x/cx, 259*y/cy, tocolor(255, 255, 255, 255), 1.50*x/cx, "default-bold", "left", "top", false, false, false, false, false) dxDrawRectangle(486*x/cx, 132*y/cy, 127*x/cx, 37*y/cy, tocolor(3, 21, 245, 130), false) dxDrawRectangle(813*x/cx, 132*y/cy, 127*x/cx, 37*x/cy, tocolor(3, 21, 245, 130), false) dxDrawText(".:[ Tap 1 ]:.", 493*x/cx, 131*y/cy, 618*x/cx, 168*y/cy, tocolor(255, 255, 255, 255), 0.70*x/cx, "bankgothic", "left", "center", false, false, false, false, false) dxDrawText(".:[ Tap 2 ]:.", 819*x/cx, 132*y/cy, 944*x/cx, 169*y/cy, tocolor(255, 255, 255, 255), 0.70*x/cx, "bankgothic", "left", "center", false, false, false, false, false) dxDrawRectangle(572*x/cx, 334*x/cy, 144*x/cx, 32*x/cy, tocolor(254, 254, 254, 170), false) dxDrawRectangle(734*x/cx, 338*y/cy, 98*x/cx, 25*x/cy, tocolor(3, 21, 245, 130), false) dxDrawText(".:[ توزيع ]:.", 744*x/cx, 338*y/cy, 841*x/cx, 362*y/cy, tocolor(255, 255, 255, 255), 1.50, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("عند ضغطك لاعطاء سيتم اعطاء الشخص المحدد المال", 555*x/cx, 288*y/cy, 687*x/cx, 312*y/cy, tocolor(83, 254, 23, 246), 0.25*x/cx, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("عند ضغطك لتوزيع سيتم توزيع المال للكل", 578*x/cx, 386*y/cy, 710*x/cx, 410*y/cy, tocolor(254, 22, 22, 246), 0.25*x/cx, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("عند تحديد السلاح سيتم اعطاء الاعب المحدد مباشرة", 779*x/cx, 475*y/cy, 911*x/cx, 499*x/cy, tocolor(51, 60, 247, 246), 0.25*x/cx, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(".:[ Competitions Mod ]:.", 546*x/cx, 69*y/cy, 1059*x/cx, 104*y/cy, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) end طبعا ارجح الطريقة الثانية لانها الاسهل , بدل 1440 و 900 بمقاس شاشتك بالعرض والطول اي شيء لم يتم شرحة او شيء لم يتم فهمه جيدا الرجاء الكتابة في الردود وسيتم اعادة شرحة او شرحه , ان اخطئت فمني ومن الشيطان وان اصبت فمن الله منقول #.
  3. السلام عليكم حبيت اعدل علي مود الشيلات حق انكسار وسالت كيف اخلي اللوحه لجميع الاحجام وفادوني سويت الطريقه وركبت المود علي سيرفري ومازبطط اتممنى الافاده local x, y = guiGetScreenSize() local rx, ry = (x/800), (y/600) x = 0.5 * sx -- نص على عرض الشاشة = نصف عرض الشاشة y = 0.5 * sy -- نص على طول الشاشة = نصف طول الشاشة GUIEditor = { gridlist = {}, scrollbar = {}, label = {} } Start = guiCreateButton(0.09, 0.73, 0.09, 0.04, "", false) guiSetAlpha(Start, 0.17) Stop = guiCreateButton(0.09, 0.79, 0.09, 0.04, "", false) guiSetAlpha(Stop, 0.17) GUIEditor.gridlist[1] = guiCreateGridList(rx*66, ry*204, rx*202, ry*227, false) guiGridListAddColumn(GUIEditor.gridlist[1], "Sound", 0.9) guiGridListAddColumn(GUIEditor.gridlist[1], "#", 0.2) GUIEditor.label[1] = guiCreateLabel(rx*182, ry*443, rx*104, ry*50, "السرعة :-", false) guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", true) guiLabelSetVerticalAlign(GUIEditor.label[1], "center") GUIEditor.label[2] = guiCreateLabel(rx*178, ry*461, rx*104, ry*50, "الصوت :-", false) guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", true) guiLabelSetVerticalAlign(GUIEditor.label[2], "center") GUIEditor.scrollbar[1] = guiCreateScrollBar(0.20, 0.74, 0.12, 0.02, true, false) GUIEditor.scrollbar[2] = guiCreateScrollBar(0.20, 0.79, 0.12, 0.02, true, false) guiScrollBarSetScrollPosition(GUIEditor.scrollbar[1], 50.0) guiScrollBarSetScrollPosition(GUIEditor.scrollbar[2], 50.0) function Sound() dxDrawLine((screenW * 0.0771) - 1, (screenH * 0.2813) - 1, (screenW * 0.0771) - 1, screenH * 0.8320, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.3418, (screenH * 0.2813) - 1, (screenW * 0.0771) - 1, (screenH * 0.2813) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.0771) - 1, screenH * 0.8320, screenW * 0.3418, screenH * 0.8320, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.3418, screenH * 0.8320, screenW * 0.3418, (screenH * 0.2813) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.0771, screenH * 0.2813, screenW * 0.2646, screenH * 0.5508, tocolor(254, 254, 254, 87), false) dxDrawImage(screenW * 0.0918, screenH * 0.6927, screenW * 0.2227, screenH * 0.1523, ":Dx_Control_Img/Image.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawLine(screenW * 0.0771, screenH * 0.3216, screenW * 0.3408, screenH * 0.3216, tocolor(0, 0, 0, 251), 1, false) dxDrawText(".:[ Shelat Mod | By Ebda3 ]:.", (screenW * 0.1064) - 1, (screenH * 0.2917) - 1, (screenW * 0.2822) - 1, (screenH * 0.3216) - 1, tocolor(0, 0, 0, 251), 1.25, "default", "left", "top", false, false, false, false, false) dxDrawText(".:[ Shelat Mod | By Ebda3 ]:.", (screenW * 0.1064) + 1, (screenH * 0.2917) - 1, (screenW * 0.2822) + 1, (screenH * 0.3216) - 1, tocolor(0, 0, 0, 251), 1.25, "default", "left", "top", false, false, false, false, false) dxDrawText(".:[ Shelat Mod | By Ebda3 ]:.", (screenW * 0.1064) - 1, (screenH * 0.2917) + 1, (screenW * 0.2822) - 1, (screenH * 0.3216) + 1, tocolor(0, 0, 0, 251), 1.25, "default", "left", "top", false, false, false, false, false) dxDrawText(".:[ Shelat Mod | By Ebda3 ]:.", (screenW * 0.1064) + 1, (screenH * 0.2917) + 1, (screenW * 0.2822) + 1, (screenH * 0.3216) + 1, tocolor(0, 0, 0, 251), 1.25, "default", "left", "top", false, false, false, false, false) dxDrawText(".:[ Shelat Mod | By Ebda3 ]:.", screenW * 0.1064, screenH * 0.2917, screenW * 0.2822, screenH * 0.3216, tocolor(255, 255, 255, 255), 1.25, "default", "left", "top", false, false, false, false, false) dxDrawLine((screenW * 0.0859) - 1, (screenH * 0.7279) - 1, (screenW * 0.0859) - 1, screenH * 0.7682, tocolor(0, 0, 0, 251), 1, true) dxDrawLine(screenW * 0.1650, (screenH * 0.7279) - 1, (screenW * 0.0859) - 1, (screenH * 0.7279) - 1, tocolor(0, 0, 0, 251), 1, true) dxDrawLine((screenW * 0.0859) - 1, screenH * 0.7682, screenW * 0.1650, screenH * 0.7682, tocolor(0, 0, 0, 251), 1, true) dxDrawLine(screenW * 0.1650, screenH * 0.7682, screenW * 0.1650, (screenH * 0.7279) - 1, tocolor(0, 0, 0, 251), 1, true) dxDrawRectangle(screenW * 0.0859, screenH * 0.7279, screenW * 0.0791, screenH * 0.0404, tocolor(255, 255, 255, 73), true) dxDrawLine((screenW * 0.0869) - 1, (screenH * 0.7865) - 1, (screenW * 0.0869) - 1, screenH * 0.8268, tocolor(0, 0, 0, 255), 1, true) dxDrawLine(screenW * 0.1660, (screenH * 0.7865) - 1, (screenW * 0.0869) - 1, (screenH * 0.7865) - 1, tocolor(0, 0, 0, 255), 1, true) dxDrawLine((screenW * 0.0869) - 1, screenH * 0.8268, screenW * 0.1660, screenH * 0.8268, tocolor(0, 0, 0, 255), 1, true) dxDrawLine(screenW * 0.1660, screenH * 0.8268, screenW * 0.1660, (screenH * 0.7865) - 1, tocolor(0, 0, 0, 255), 1, true) dxDrawRectangle(screenW * 0.0869, screenH * 0.7865, screenW * 0.0791, screenH * 0.0404, tocolor(255, 255, 255, 73), true) dxDrawText("", 101, 566, 153, 584, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) dxDrawText("Stop", (screenW * 0.1084) - 1, (screenH * 0.7331) - 1, (screenW * 0.1338) - 1, (screenH * 0.7734) - 1, tocolor(0, 0, 0, 251), 1.15, "default", "left", "top", false, false, false, false, false) dxDrawText("Stop", (screenW * 0.1084) + 1, (screenH * 0.7331) - 1, (screenW * 0.1338) + 1, (screenH * 0.7734) - 1, tocolor(0, 0, 0, 251), 1.15, "default", "left", "top", false, false, false, false, false) dxDrawText("Stop", (screenW * 0.1084) - 1, (screenH * 0.7331) + 1, (screenW * 0.1338) - 1, (screenH * 0.7734) + 1, tocolor(0, 0, 0, 251), 1.15, "default", "left", "top", false, false, false, false, false) dxDrawText("Stop", (screenW * 0.1084) + 1, (screenH * 0.7331) + 1, (screenW * 0.1338) + 1, (screenH * 0.7734) + 1, tocolor(0, 0, 0, 251), 1.15, "default", "left", "top", false, false, false, false, false) dxDrawText("Stop", screenW * 0.1084, screenH * 0.7331, screenW * 0.1338, screenH * 0.7734, tocolor(255, 255, 255, 255), 1.15, "default", "left", "top", false, false, false, false, false) dxDrawText("Start", (screenW * 0.1084) - 1, (screenH * 0.7917) - 1, (screenW * 0.1338) - 1, (screenH * 0.8320) - 1, tocolor(0, 0, 0, 255), 1.15, "default", "left", "top", false, false, true, false, false) dxDrawText("Start", (screenW * 0.1084) + 1, (screenH * 0.7917) - 1, (screenW * 0.1338) + 1, (screenH * 0.8320) - 1, tocolor(0, 0, 0, 255), 1.15, "default", "left", "top", false, false, true, false, false) dxDrawText("Start", (screenW * 0.1084) - 1, (screenH * 0.7917) + 1, (screenW * 0.1338) - 1, (screenH * 0.8320) + 1, tocolor(0, 0, 0, 255), 1.15, "default", "left", "top", false, false, true, false, false) dxDrawText("Start", (screenW * 0.1084) + 1, (screenH * 0.7917) + 1, (screenW * 0.1338) + 1, (screenH * 0.8320) + 1, tocolor(0, 0, 0, 255), 1.15, "default", "left", "top", false, false, true, false, false) dxDrawText("Start", screenW * 0.1084, screenH * 0.7917, screenW * 0.1338, screenH * 0.8320, tocolor(255, 255, 255, 255), 1.15, "default", "left", "top", false, false, true, false, false) end removeEventHandler("onClientRender",root,Sound) guiSetVisible ( GUIEditor.gridlist[1], false ) guiSetVisible ( Stop, false ) guiSetVisible ( Start, false ) guiSetVisible ( GUIEditor.scrollbar[1], false ) guiSetVisible ( GUIEditor.scrollbar[2], false ) guiSetVisible ( GUIEditor.label[1], false ) guiSetVisible ( GUIEditor.label[2], false ) ----------------------------------------------------------- function OpenWin() if removeEventHandler("onClientRender",root,Sound)then removeEventHandler("onClientRender",root,Sound) guiSetVisible ( GUIEditor.gridlist[1], false ) guiSetVisible ( Stop, false ) guiSetVisible ( Start, false ) guiSetVisible ( GUIEditor.scrollbar[1], false ) guiSetVisible ( GUIEditor.scrollbar[2], false ) guiSetVisible ( GUIEditor.label[1], false ) guiSetVisible ( GUIEditor.label[2], false ) showCursor(false) else addEventHandler("onClientRender",root,Sound) guiSetVisible ( GUIEditor.gridlist[1], true ) guiSetVisible ( Stop, true ) guiSetVisible ( Start, true ) guiSetVisible ( GUIEditor.scrollbar[1], true ) guiSetVisible ( GUIEditor.scrollbar[2], true ) guiSetVisible ( GUIEditor.label[1], true ) guiSetVisible ( GUIEditor.label[2], true ) showCursor(true) end end bindKey ( "F3", "down", OpenWin ) List = { {"][ الرفيق ][","http://upstatic.arab4mp3.com/uploads/arab4mp3_13467351783.mp3"}, {"][ لبيه لبيه يآلغآلي ][","http://upstatic.arab4mp3.com/uploads/arab4mp3_134673517810.mp3"}, {"][ يآخيآلي ][","http://cdn.top4top.net/d_3a2644c0591.mp3"}, {"][ هاجس الشعر ][","http://www.mlami7.com/up/m3/shalaat/Khalid/b1/10.mp3"}, {"][ تقوى الهجر ][","http://www.mlami7.com/up/m3/shalaat/Khalid/b1/4.mp3"}, {"][ لا يطول غيابك ][","http://cdn.top4top.net/d_d41ce1684a1.mp3"}, {"][ تلوموني ][","http://cdn.top4top.net/d_0ad3df8aa80.mp3"}, {"][ علموهـ ][","http://cdn.top4top.net/d_163cbbe9684.mp3"}, {"][ ليه احس ][","http://cdn.top4top.net/d_7c6eaac3830.mp3"}, {"][ غيث المزون ][","http://cdn.top4top.net/d_42b87a15801.mp3"}, {"][ يازين الجمس لاسرى ][","http://www.alqsed.com/uploads/songs/yazen-algme7e-lasra.mp3"}, {"][ احمد الله ][","http://www.alqsed.com/uploads/songs/a7md_allh_a7md_alrshydy.mp3"}, {"][ ياليت ][","http://www.alqsed.com/uploads/songs/yalyt.mp3"}, {"][ المطر ][","http://www.alqsed.com/uploads/songs/alm6r_784.mp3"}, {"][ راحت البال ][","http://www.alqsed.com/uploads/songs/almktwb.mp3"}, {"][ المكتوب ][","http://www.alqsed.com/uploads/songs/ra7t_albal.mp3"}, {"][ ياقو قلبك ][","http://www.alqsed.com/uploads/songs/yakw_klbk_0.mp3"}, {"][ راعي الجيب ][","http://www.alqsed.com/uploads/songs/fhd_m6r_raay_algyb.mp3"}, {"][ قناعتي ][","http://www.alqsed.com/uploads/songs/knaaty.mp3"}, {"][ ابن الذيب ][","http://www.alqsed.com/uploads/songs/abn_aldyb_996.mp3"}, {"][ ياليل ][","http://www.alqsed.com/uploads/songs/yallyl_128.mp3"}, {"][ ياعشيري ][","http://www.alqsed.com/uploads/songs/yaashyry_366.mp3"}, {"][ يمه يمه ][","http://www.alqsed.com/uploads/songs/ymh_ma_fayz.mp3"}, {"][ ليه احس ][","http://www.alqsed.com/song2_download_759550"}, {"][ ماتنشد عن خبري ][","http://www.alqsed.com/uploads/songs/matnshd_an_akbary.mp3"}, {"][ زمان اول ][","http://www.alqsed.com/song2_download_760085"}, {"][ قالو العرب ][","http://www.alqsed.com/uploads/songs/kalwa_arb_a7md_sad_alaazmy_508.mp3"}, {"][ ابوسه خشمه ][","http://www.alqsed.com/uploads/songs/abws_kshmh_584.mp3"}, {"][ يابوي ][","http://www.alqsed.com/uploads/songs/yabwy_nasr_al_rshyd.mp3"}, {"][ كف الاحلام ][","http://www.alqsed.com/uploads/songs/kf_ala7lam_nasr_al_rshyd.mp3"}, {"][ جربت صوتي ][","http://www.alqsed.com/uploads/songs/gryt_swty.mp3"}, {"][ سطح القمر ][","http://www.alqsed.com/uploads/songs/s67_alkmr.mp3"}, {"][ لا لاتضايقونه ][","http://www.alqsed.com/song2_download_760259"}, {"][ وداعه الله ][","http://www.alqsed.com/uploads/songs/wdaah_allh.mp3"}, {"][ عالي ][","http://www.alqsed.com/uploads/songs/aaly.mp3"}, {"][ دروس الليالي ][","http://www.alqsed.com/uploads/songs/drs_allyaly.mp3"}, {"][ ياسعد ][","http://ia601504.us.archive.org/0/items/sot2012/52016.mp3"}, {"][ الهديه ][","http://ia601504.us.archive.org/0/items/sot2012/52012.mp3"}, {"][ صدتك عني غريبه ][","http://media.weziwezi.com/wezi_mp3/download.php?name=2/yvB6mW-jXKw&type=mp3"}, {"][ عليك الله ][","http://www.alqsed.com/uploads/songs/alyk_allh_nayf.mp3"}, {"][ اخر العنقود ][","http://www.alqsed.com/uploads/songs/akr_alankwd_rashd_alkshman_almry.mp3"}, {"][ الهموم ][","http://www.alqsed.com/uploads/songs/alhmwm_sl6an_mnawr.mp3"}, {"][ لبيه هالصوت ][","http://www.alqsed.com/uploads/songs/lbyh_yahalswt_ma_raay_alswt.mp3"}, {"][ ابــــعد ][","http://www.alqsed.com/uploads/songs/abbad6.mp3"}, {"][ العمر فرصة ][","http://www.alqsed.com/uploads/songs/alamr_frsh_fhd_mshks_zahy_alrshydy.mp3"}, {"][ الله اكبر ][","http://www.alqsed.com/uploads/songs/allh_akbr_zahy_alrshydy_aay5_alk76any.mp3"}, {"][ يالي تسمع ][","http://www.alqsed.com/uploads/songs/yaly_tsma.mp3"}, {"][ مليت ][","http://www.alqsed.com/uploads/songs/mlyt_54.mp3"}, {"][ غاية الروح ][","http://www.alqsed.com/uploads/songs/ghayt_alrw7.mp3"}, {"][ قالو انسى ][","http://www.alqsed.com/uploads/songs/kalwa_ansa_swt_ngran.mp3"}, {"][ المعنى ][","http://eg.media.weziwezi.com/wezi_mp3/download_file.php?name=6tBIFO8V3wI&type=mp3"}, {"][ هزني بالحشى ][","http://media.weziwezi.com/wezi_mp3/download.php?name=egwXUZneGaU&type=mp3"}, {"][ صب لي يانور عيني ][","http://media.weziwezi.com/wezi_mp3/download.php?name=IVM4qPvXTEk&type=mp3"}, {"][ انا على المقناص ][","http://media.weziwezi.com/wezi_mp3/download.php?name=2/DctAxQuIXf8&type=mp3"}, {"][ المقناص ][","http://media.weziwezi.com/wezi_mp3/download.php?name=2/_h-M6wLdHek&type=mp3"}, {"][ حبيبك ][","http://media.weziwezi.com/wezi_mp3/download.php?name=LIX_C8rAIKY&type=mp3"}, {"][ ياليل العنا ][","http://media.weziwezi.com/wezi_mp3/download.php?name=2/mgUI4Ibt-SE&type=mp3"}, {"][ عيون النداوي ][","http://media.weziwezi.com/wezi_mp3/download.php?name=2/hbioBs4_SL0&type=mp3"}, {"][ يامقنع الزين ][","http://www.alqsed.com/uploads/songs/yamnq3alzen.mp3"}, {"][ الفخر ][","http://www.alqsed.com/uploads/songs/alfkr_873.mp3"}, {"][ ياسعود ][","http://www.alqsed.com/uploads/songs/yas3od_990.mp3"}, {"][ لج صدري ][","http://www.alqsed.com/uploads/songs/alamnalmrt7.mp3"}, {"][ زود المال ][","http://www.alqsed.com/uploads/songs/ljsdry.mp3"}, {"][ اكرام للماضي ][","http://www.alqsed.com/uploads/songs/zodalmal.mp3"}, {"][ تاج الجمال ][","http://www.alqsed.com/uploads/songs/akram_llma5y.mp3"}, {"][ القنص ][","http://www.alqsed.com/uploads/songs/yamakd_tag_algmal.mp3"}, {"][ يابري الحال ][","http://www.alqsed.com/uploads/songs/yabry_7aly2.mp3"}, {"][ جروح الحب ][","http://www.alqsed.com/uploads/songs/ylt_grw7_al7b.mp3"}, {"][ نار العشق ][","http://www.alqsed.com/uploads/songs/nar_alashk_kald_almshaly.mp3"}, {"][ والله مانساك ][","http://www.alqsed.com/uploads/songs/wallh_maansak_kald_almshaly.mp3"}, {"][ نوايا ][","http://www.alqsed.com/uploads/songs/nwaya_kald_almshaly.mp3"}, {"][ زمان التضحية ][","http://www.alqsed.com/uploads/songs/zman_alt57yh_kald_almshaly.mp3"}, {"][ الثلث الاخير ][","http://www.alqsed.com/uploads/songs/althlth_alakyr_kald_almshaly.mp3"}, {"][ ياهم ][","http://www.alqsed.com/uploads/songs/yahm_kald_almshaly.mp3"}, {"][ حلو السنين ][","http://www.alqsed.com/uploads/songs/7lw_alsnyn.mp3"}, {"][ ياناس تكفون ][","http://www.alqsed.com/uploads/songs/yanas_tkfwn.mp3"}, {"][ يوم التخرج ][","http://www.alqsed.com/uploads/songs/ywm_altkrg.mp3"}, {"][ زامل ][","http://www.alqsed.com/uploads/songs/zaml_abn_k7lh_hady_waladb.mp3ر"}, {"][ مقادير الليل ][","http://www.alqsed.com/uploads/songs/mkadyr_allyaly.mp3"}, {"][ يامرحبا ][","http://www.alqsed.com/uploads/songs/yamr7ba_1.mp3"}, {"][ للعين ][","http://www.alqsed.com/uploads/songs/llayn_sar_alshr_aadh.mp3"}, {"][ كلنا الخفجي ][","http://www.alqsed.com/uploads/songs/klna_alkfgy.mp3"}, {"][ البارحه ][","http://www.alqsed.com/uploads/songs/albar7h_189.mp3"}, {"][ قله حبيبك ][","http://www.alqsed.com/uploads/songs/klh_7bybk_fars_mhdy.mp3"}, {"][ طالبك ][","http://www.alqsed.com/uploads/songs/6albk.mp3"}, {"][ عشانك ][","http://www.alqsed.com/uploads/songs/ashan_a7bk_mwt.mp3"}, {"][ يابنات الريح ][","http://www.alqsed.com/uploads/songs/yabnat_alry7.mp3"}, {"][ ويله من الله ][","http://www.alqsed.com/uploads/songs/wylh_mn_allh3.mp3"}, {"][ وهج المرايا ][","http://www.alqsed.com/uploads/songs/whg_almraya.mp3"}, {"][ من رحتي ][","http://www.alqsed.com/uploads/songs/mn_r7lty3.mp3"}, {"][ كبوة حصان ][","http://www.alqsed.com/uploads/songs/kbwh_7san.mp3"}, {"][ بنت الغرام ][","http://www.alqsed.com/uploads/songs/bnt_alghram_m7md_fhd.mp3"}, {"][ فراق الحبايب ][","http://www.alqsed.com/uploads/songs/frak_al7bayb_fhd_bn_gry_wfhd_alshbwy6.mp3"}, {"][ يوم تلاقي ][","http://www.alqsed.com/uploads/songs/ywm_altlaky.mp3"}, {"][ لبيه يايمه ][","http://www.alqsed.com/uploads/songs/ymh_427.mp3"}, {"][ يادار ][","http://www.alqsed.com/uploads/songs/yadar.mp3"}, {"][ هوى النفس ][","http://www.alqsed.com/uploads/songs/hwa_alnfs.mp3"}, {"][ مليك المحبة ][","http://www.alqsed.com/uploads/songs/mlyk_alm7bh.mp3"}, {"][ كسرة الخاطر ][","http://www.alqsed.com/uploads/songs/ksrt_alka6r_998.mp3"}, {"][ هني وصحوح ][","http://www.alqsed.com/uploads/songs/any_ws7w7.mp3"}, {"][ حمامة الورق ][","http://www.alqsed.com/uploads/songs/7mamh_alwrk.mp3"}, } for _,v in ipairs ( List ) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText ( GUIEditor.gridlist[1], row, 1, tostring ( v [ 1 ] ), false, false) guiGridListSetItemData ( GUIEditor.gridlist[1], row, 1, tostring ( v [ 2 ] )) guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) end addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == Start ) then if ( isElement ( sound ) ) then destroyElement ( sound ) end if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) ~= -1 ) then local Link = guiGridListGetItemData ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) sound = playSound ( tostring ( Link ), true ) end end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == Stop ) then if ( isElement ( sound ) ) then destroyElement ( sound ) end end end )
  4. هههههههههههههههههههههههههههههههه بس ياخوي بتعلمم انا
  5. ياخووي ترانني مبتلشش فيه خراب بالقيم مود
  6. اسم الزر : Set poition code كنت اصمم و انتبهت له ططب الدي اككس ؟
  7. اسم الزر : Set poition code كنت اصمم و انتبهت له يعننني بس احط الاحداثيات وخلاص ؟
  8. ياخوي انحلت المشكله الاوله اما الثانيه القيم مود فيه خراب يوم مسحت الـ end زبط اما الحين القيم مود فيه خراب معلق
  9. السلام عليككم حبيت اسوي اعدل علي قيم مود حق طلال اتوقع كلكم تعرفونه لاكن واجهتني مشاكل اتمني تفيدوني local _guiCreateWindow = guiCreateWindow local Sw, Sh = guiGetScreenSize( ) local Width = 800 -- عرض الشاشة local Height = 600 -- طول الشاشة local showItemsLod_ = true local sm = {} sm.moov = 0 sm.object1, sm.object2 = nil, nil local function removeCamHandler () if(sm.moov == 1) then sm.moov = 0 removeEventHandler ( "onClientPreRender", getRootElement(), camRender ) end end function camRender () if sm.object1 and isElement(sm.object1) then local x1, y1, z1 = getElementPosition ( sm.object1 ) local x2, y2, z2 = getElementPosition ( sm.object2 ) setCameraMatrix ( x1, y1, z1, x2, y2, z2 ) end end function smoothMoveCamera ( x1, y1, z1, x1t, y1t, z1t, x2, y2, z2, x2t, y2t, z2t, time ) if(sm.moov == 1) then return false end sm.object1 = createObject ( 1337, x1, y1, z1 ) sm.object2 = createObject ( 1337, x1t, y1t, z1t ) setElementAlpha ( sm.object1, 0 ) setElementAlpha ( sm.object2, 0 ) setObjectScale(sm.object1, 0.01) setObjectScale(sm.object2, 0.01) moveObject ( sm.object1, time, x2, y2, z2, 0, 0, 0, "InOutQuad" ) moveObject ( sm.object2, time, x2t, y2t, z2t, 0, 0, 0, "InOutQuad" ) addEventHandler ( "onClientPreRender", getRootElement(), camRender ) sm.moov = 1 setTimer ( removeCamHandler, time, 1 ) setTimer ( destroyElement, time, 1, sm.object1 ) setTimer ( destroyElement, time, 1, sm.object2 ) return true end function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false) end addEventHandler("onClientResourceStart",resourceRoot, function () setTimer(function () if isPedInVehicle(localPlayer) then destroyElement(getPedOccupiedVehicle(localPlayer)) end dx = true setCameraMatrix(1507.71631,-1657.00586,20.79688,1540.93384,-1681.96313,13.55156) setTime(1,0) showCursor(true) guiSetInputEnabled(true) fadeCamera(true) showChat(false) setElementDimension(localPlayer,0) setElementData(localPlayer,"new",false) outputChatBox("# Ebda3 Login Panel By Sho8",255,0,0,true) end,500,1) end ) --- Login Register Window function Login() dxDrawLine(Sw*(284/Width) -1, Sh*(185/Height) -1, Sw*(284/Width) -1, Sh*(377/Height), tocolor(234, 8, 8, 255), 1, false) dxDrawLine(Sw*(550/Width) , Sh*(185/Height) -1, Sw*(284/Width) -1, Sh*(185/Height) -1, tocolor(234, 8, 8, 255), 1, false) dxDrawLine(Sw*(284/Width) -1, Sh*(377/Height), Sw*(550/Width), Sh*(377/Height), tocolor(234, 8, 8, 255), 1, false) dxDrawLine(Sw*(550/Width), Sh*(377/Height), Sw*(550/Width), Sh*(185/Height) -1, tocolor(234, 8, 8, 255), 1, false) dxDrawRectangle(Sw*(284/Width), Sh*(185/Height), Sw*(266/Width), Sh*(192/Height), tocolor(0, 0, 0, 141), false) dxDrawLine(Sw*(284/Width), Sh*(214/Height), Sw*(550/Width), Sh*(214/Height), tocolor(234, 8, 8, 255), 1, false) dxDrawText("[ Welcome To Server ]", Sw*(323/Width) - 1, Sh*(186/Height) - 1, Sw*(508/Width) - 1, Sh*(214/Height) - 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ Welcome To Server ]", Sw*(323/Width) - 1, Sh*(186/Height) - 1, Sw*(508/Width) - 1, Sh*(214/Height) - 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ Welcome To Server ]", Sw*(323/Width) - 1, Sh*(186/Height) - 1, Sw*(508/Width) - 1, Sh*(214/Height) - 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ Welcome To Server ]", Sw*(323/Width) - 1, Sh*(186/Height) - 1, Sw*(508/Width) - 1, Sh*(214/Height) - 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ Welcome To Server ]", Sw*(323/Width), Sh*(186/Height), Sw*(508/Width), Sh*(214/Height), tocolor(255, 255, 255, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawLine( Sw*(442/Width) -1, Sh*(326/Height) -1, Sw*(422/Width) -1, Sh*(357/Height), tocolor(0, 0, 0, 255), 1, false) dxDrawLine(Sw*(529/Width), Sh*(326/Height) -1, Sw*(442/Width) -1, Sh*(326/Height) -1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(Sw*(442/Width) -1, Sh*(357/Height) , Sw*(529/Width) , Sh*(357/Height), tocolor(0, 0, 0, 255), 1, false) dxDrawLine(Sw*(529/Width), Sh*(357/Height) , Sw*(529/Width) , Sh*(326/Height) -1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(Sw*(442/Width), Sh*(326/Height) , Sw*(87/Width) , Sh*(31/Height), tocolor(234, 8, 8, 255), false) dxDrawText("Name :-", Sw*(303/Width) - 1, Sh*(245/Height) - 1, Sw*(344/Width) - 1, Sh*(267/Height) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Name :-", Sw*(303/Width) + 1, Sh*(245/Height) - 1, Sw*(344/Width) + 1, Sh*(267/Height) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Name :-", Sw*(303/Width) - 1, Sh*(245/Height) + 1, Sw*(344/Width) - 1, Sh*(267/Height) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Name :-", Sw*(303/Width) + 1, Sh*(245/Height) + 1, Sw*(344/Width) + 1, Sh*(267/Height) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Name :-", Sw*(303/Width), Sh*(245/Height) , Sw*(344/Width) , Sh*(267/Height), tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Pass :-", Sw*(303/Width) - 1, Sh*(286/Height) - 1, Sw*(344/Width) - 1, Sh*(308/Height) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Pass :-", Sw*(303/Width) + 1, Sh*(286/Height) - 1, Sw*(344/Width) + 1, Sh*(308/Height) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Pass :-", Sw*(303/Width) - 1, Sh*(286/Height) + 1, Sw*(344/Width) - 1, Sh*(308/Height) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Pass :-", Sw*(303/Width) + 1, Sh*(286/Height) + 1, Sw*(344/Width) + 1, Sh*(308/Height) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Pass :-", Sw*(303/Width) , Sh*(286/Height) , Sw*(344/Width) , Sh*(308/Height) , tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawLine(Sw*(349/Width) - 1, Sh*(326/Height) - 1 , Sw*(349/Width) - 1 , Sh*(357/Height), tocolor(0, 0, 0, 255), 1, false) dxDrawLine(Sw*(436/Width) , Sh*(326/Height) -1, Sw*(349/Width) -1, Sh*(326/Height) -1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(Sw*(349/Width) - 1 , Sh*(357/Height), Sw*(436/Width), Sh*(357/Height), tocolor(0, 0, 0, 255), 1, false) dxDrawLine(Sw*(436/Width), Sh*(357/Height), Sw*(436/Width), Sh*(326/Height) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(Sw*(349/Width), Sh*(326/Height), Sw*(87/Width), Sh*(31/Height), tocolor(234, 8, 8, 255), false) dxDrawText("[ Login ]", Sw*(370/Width) -1, Sh*(335/Height) -1, Sw*(417/Width) -1, Sh*(347/Height) -1, tocolor(0, 0, 0, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ Login ]", Sw*(370/Width) +1, Sh*(335/Height) -1, Sw*(417/Width) +1, Sh*(347/Height) -1, tocolor(0, 0, 0, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ Login ]", Sw*(370/Width) -1, Sh*(335/Height) +1, Sw*(417/Width) -1, Sh*(347/Height) +1, tocolor(0, 0, 0, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ Login ]", Sw*(370/Width) +1, Sh*(335/Height) +1, Sw*(417/Width) +1, Sh*(347/Height) +1, tocolor(0, 0, 0, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ Login ]", Sw*(370/Width) , Sh*(335/Height) , Sw*(417/Width) , Sh*(347/Height) , tocolor(255, 255, 255, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ Register ]", Sw*(462/Width) -1, Sh*(335/Height) -1, Sw*(509/Width) -1, Sh*(347/Height) -1, tocolor(0, 0, 0, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ Register ]", Sw*(462/Width) +1, Sh*(335/Height) -1, Sw*(509/Width) +1, Sh*(347/Height) -1, tocolor(0, 0, 0, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ Register ]", Sw*(462/Width) -1, Sh*(335/Height) +1, Sw*(509/Width) -1, Sh*(347/Height) +1, tocolor(0, 0, 0, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ Register ]", Sw*(462/Width) +1, Sh*(335/Height) +1, Sw*(509/Width) +1, Sh*(347/Height) +1, tocolor(0, 0, 0, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ Register ]", Sw*(462/Width) , Sh*(335/Height) , Sw*(509/Width) , Sh*(347/Height) , tocolor(255, 255, 255, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) end GUIEditor = { Button = {}, Edit = {} } GUIEditor.Button[4] = guiCreateButton(Sw*(349/Width), Sh*(326/Height), Sw*(87/Width), Sh*(31/Height), "", false) guiSetAlpha(GUIEditor.Button[4], 0.17) GUIEditor.Button[3] = guiCreateButton(Sw*(442/Width), Sh*(326/Height), Sw*(87/Width), Sh*(31/Height), "", false) guiSetAlpha(GUIEditor.Button[3], 0.17) GUIEditor.Edit[1] = guiCreateEdit(Sw*(349/Width), Sh*(240/Height), Sw*(180/Width), Sh*(31/Height), "", false) GUIEditor.Edit[2] = guiCreateEdit(Sw*(349/Width), Sh*(280/Height), Sw*(180/Width), Sh*(31/Height), "", false) local sound = playSound("http://f13.wapka-files.com/download/e/5/8/1915080_e58b1b988f6452d21f5c7c55.mp3/1d277bc65e9d17347f35/%D9%85%D8%AD%D9%85%D8%AF%2B%D8%A7%D9%84%D8%AD%D8%AF%D8%A7%D8%AF%2B%D9%85%D8%B6%D9%8A%2B%D8%A7%D9%84%D8%B5%D8%AF%D9%82.mp3",false) guiSetVisible ( GUIEditor.Button[4], false ) guiSetVisible ( GUIEditor.Button[3], false ) guiSetVisible ( GUIEditor.Edit[1], false ) guiSetVisible ( GUIEditor.Edit[2], false ) end ) addEventHandler("onClientGUIClick",root, function () local user = guiGetText(user) local pass = guiGetText(pass) if ( source == login ) then if user ~= "" and pass ~= "" then if guiCheckBoxGetSelected(remember) then triggerServerEvent("onLoginWith",localPlayer,user,pass) else triggerServerEvent("onLogin",localPlayer,user,pass) end else outputChatBox("* You Must Write Username Or Password",255,0,0) end elseif ( source == reg ) then if user ~= "" and pass ~= "" then triggerServerEvent("onReg",localPlayer,user,pass) else outputChatBox("* You Must Write Username Or Password",255,0,0) end end end ) addEvent("onCl",true) addEventHandler("onCl",root, function () guiSetVisible(wnd,false) showCursor(false) guiSetInputEnabled(false) Show() end ) function setPlayerXYZ(x,y,z) local player = getLocalPlayer() setElementData(player,"x",x) setElementData(player,"y",y) setElementData(player,"z",z) end text = "[مــرححبأأأ بكك في محــترفين ألبرمجهه]" dx = false skin = {{46,"ألثوب ألآبيـض"},{124,"ألثوب ألآسـود"},{0,"CJ-سي جي"},{288,"شـرطي"},{285,"سـوات"},{287,"Army-ألجيش"}} num = 1 place = { {"البداية الرئيسية",-3466.92041,-3078.54395,10.99545,-3447.27100,-3006.81567,4.99545,-3446.39111,-3002.23340,5.11145}, {"سـاححة ألقتـال",339.09109,1922.91882,70.64735,293.21634,1981.64270,17.64063,278.05737,1990.96753,17.64063}, {"الدايري",1747.32800, 1453.57642, 20.80588,1713.06812,1455.77283,10.73905,1688.45264,1447.76941,10.76774}, {"ألنخيل",2129.15308, 1449.49414, 17.82031,2124.62500,1408.66431,10.82031,2135.84058,1393.37354,10.82031}, {"الشارع الطويل",-2989.02222, -3005.03931, 10.00000,-3074.15283,-3004.70459,5.00000,-3089.02979,-3004.51563,5.00000}, } function Show() smoothMoveCamera(1507.71631,-1657.00586,20.79688,1540.35193,-1683.56323,13.55043,1550.02844,-1675.77466,17.22804,1552.95728,-1675.67700,16.19531,2000) ped = createPed(skin[1][1],1553.85632,-1675.70471,16.19531,90) bindKey("arrow_l","down",left) bindKey("arrow_r","down",right) bindKey("enter","down",enter) text = skin[1][2] end function left() if num == 1 then num = #skin else num = num - 1 end setElementModel(ped,skin[num][1]) text = skin[num][2] playSoundFrontEnd(32) end function right() if num == #skin then num = 1 else num = num + 1 end setElementModel(ped,skin[num][1]) text = skin[num][2] playSoundFrontEnd(32) end function enter() playSoundFrontEnd(33) destroyElement(ped) unbindKey("arrow_l") unbindKey("arrow_r") unbindKey("enter") setElementData(localPlayer,"skin",skin[num][1]) num = 1 text = place[num][1] setCameraMatrix(place[num][2],place[num][3],place[num][4],place[num][5],place[num][6],place[num][7]) dx = true bindKey("arrow_l","down",Pleft) bindKey("arrow_r","down",Pright) bindKey("enter","down",Penter) end addEventHandler("onClientRender",root, function () local size = {guiGetScreenSize()} if dx == true then dxDrawText("\n( " .. text .. " )",1,0,size[1] + 1,size[2],tocolor(0,0,0,255),3,"default-bold","center","top",false,false,false,true) dxDrawText("\n( " .. text .. " )",0,0,size[1],size[2],tocolor(255,0,0,255),3,"default-bold","center","top",false,false,false,true) end end ) function Pleft() if num == 1 then num = #place else num = num - 1 end text = place
  10. اتمني توضح الدي اكس و وتذكر اسم الي بالمصمم لانني مبتلش سيرفري موقف
×
×
  • Create New...