Jump to content

Ahmed Ly

Members
  • Posts

    1,304
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Ahmed Ly

  1. مود جميل و فكره رائعه بالتوفيق
  2. في اكثر من طريقه تقدر تستخدمه "onClientGUIClick" playSound isElement stopSound
  3. https://forum.multitheftauto.com/viewtopic.php?f=104&t=101111
  4. https://forum.multitheftauto.com/viewtopic.php?f=104&t=82451&p=752173&hilit=Reason+%3A+Galaretka#p752173 https://forum.multitheftauto.com/viewtopic.php?f=104&t=86651&p=783729&hilit=Galaretka#p783729 https://forum.multitheftauto.com/viewtopic.php?f=104&t=85723&p=776350&hilit=Galaretka#p776350
  5. try dowload game here https://nightly.multitheftauto.com/mtasa-1.5.2-full_rc-9828-20160805.exe
  6. Wins = { wnd = {} } Wins.wnd[1] = guiCreateButton(0.51, 0.45, 0.08, 0.06, "Send | أرسآل", true) guiSetFont(Wins.wnd[1], "default-bold-small") guiSetProperty(Wins.wnd[1], "NormalTextColour", "FFFE05BB") Wins.wnd[2] = guiCreateButton(0.41, 0.45, 0.08, 0.06, "Close | اغلاق", true) guiSetFont(Wins.wnd[2], "default-bold-small") guiSetProperty(Wins.wnd[2], "NormalTextColour", "FF0391FF") Wins.wnd[3] = guiCreateLabel(6, 300, 1350, 95, "", false) Wins.wnd[4] = guiCreateEdit(553, 290, 263, 36, "", false) for i = 1,4 do guiSetVisible(Wins.wnd[i],false) end local screenW, screenH = guiGetScreenSize() function dxx() dxDrawLine((screenW * 0.4034) - 1, (screenH * 0.1979) - 1, (screenW * 0.4034) - 1, screenH * 0.7630, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.5974, (screenH * 0.1979) - 1, (screenW * 0.4034) - 1, (screenH * 0.1979) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.4034) - 1, screenH * 0.7630, screenW * 0.5974, screenH * 0.7630, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.5974, screenH * 0.7630, screenW * 0.5974, (screenH * 0.1979) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.4034, screenH * 0.1979, screenW * 0.1940, screenH * 0.5651, tocolor(10, 1, 10, 142), false) dxDrawLine((screenW * 0.3851) - 1, (screenH * 0.1849) - 1, (screenW * 0.3851) - 1, screenH * 0.2331, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.6164, (screenH * 0.1849) - 1, (screenW * 0.3851) - 1, (screenH * 0.1849) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.3851) - 1, screenH * 0.2331, screenW * 0.6164, screenH * 0.2331, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.6164, screenH * 0.2331, screenW * 0.6164, (screenH * 0.1849) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.3851, screenH * 0.1849, screenW * 0.2313, screenH * 0.0482, tocolor(13, 254, 177, 253), false) dxDrawText("x[ Send Message to All Players ]x", (screenW * 0.3397) - 1, (screenH * 0.1901) - 1, (screenW * 0.6611) - 1, (screenH * 0.2331) - 1, tocolor(0, 0, 0, 255), 0.85, "pricedown", "center", "center", true, false, false, true, false) dxDrawText("x[ Send Message to All Players ]x", (screenW * 0.3397) + 1, (screenH * 0.1901) - 1, (screenW * 0.6611) + 1, (screenH * 0.2331) - 1, tocolor(0, 0, 0, 255), 0.85, "pricedown", "center", "center", true, false, false, true, false) dxDrawText("x[ Send Message to All Players ]x", (screenW * 0.3397) - 1, (screenH * 0.1901) + 1, (screenW * 0.6611) - 1, (screenH * 0.2331) + 1, tocolor(0, 0, 0, 255), 0.85, "pricedown", "center", "center", true, false, false, true, false) dxDrawText("x[ Send Message to All Players ]x", (screenW * 0.3397) + 1, (screenH * 0.1901) + 1, (screenW * 0.6611) + 1, (screenH * 0.2331) + 1, tocolor(0, 0, 0, 255), 0.85, "pricedown", "center", "center", true, false, false, true, false) dxDrawText("x[ Send Message to All Players ]x", screenW * 0.3397, screenH * 0.1901, screenW * 0.6611, screenH * 0.2331, tocolor(0, 105, 179, 255), 0.85, "pricedown", "center", "center", true, false, false, true, false) dxDrawText("# Note :- You can not write more than 130 message", (screenW * 0.4034) - 1, (screenH * 0.2461) - 1, (screenW * 0.5476) - 1, (screenH * 0.2604) - 1, tocolor(0, 0, 0, 255), 0.90, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# Note :- You can not write more than 130 message", (screenW * 0.4034) + 1, (screenH * 0.2461) - 1, (screenW * 0.5476) + 1, (screenH * 0.2604) - 1, tocolor(0, 0, 0, 255), 0.90, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# Note :- You can not write more than 130 message", (screenW * 0.4034) - 1, (screenH * 0.2461) + 1, (screenW * 0.5476) - 1, (screenH * 0.2604) + 1, tocolor(0, 0, 0, 255), 0.90, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# Note :- You can not write more than 130 message", (screenW * 0.4034) + 1, (screenH * 0.2461) + 1, (screenW * 0.5476) + 1, (screenH * 0.2604) + 1, tocolor(0, 0, 0, 255), 0.90, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# Note :- You can not write more than 130 message", screenW * 0.4034, screenH * 0.2461, screenW * 0.5476, screenH * 0.2604, tocolor(11, 254, 217, 253), 0.90, "default-bold", "left", "top", false, true, false, true, false) dxDrawLine(screenW * 0.4034, screenH * 0.3112, screenW * 0.5959, screenH * 0.3112, tocolor(8, 100, 254, 255), 1, false) dxDrawText("# ملآحظة :- لآ تستطيع الكتآبة اكثر من 130 رسآله", (screenW * 0.4217) - 1, (screenH * 0.2669) - 1, (screenW * 0.6091) - 1, (screenH * 0.2904) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# ملآحظة :- لآ تستطيع الكتآبة اكثر من 130 رسآله", (screenW * 0.4217) + 1, (screenH * 0.2669) - 1, (screenW * 0.6091) + 1, (screenH * 0.2904) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# ملآحظة :- لآ تستطيع الكتآبة اكثر من 130 رسآله", (screenW * 0.4217) - 1, (screenH * 0.2669) + 1, (screenW * 0.6091) - 1, (screenH * 0.2904) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# ملآحظة :- لآ تستطيع الكتآبة اكثر من 130 رسآله", (screenW * 0.4217) + 1, (screenH * 0.2669) + 1, (screenW * 0.6091) + 1, (screenH * 0.2904) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# ملآحظة :- لآ تستطيع الكتآبة اكثر من 130 رسآله", screenW * 0.4217, screenH * 0.2669, screenW * 0.6091, screenH * 0.2904, tocolor(7, 254, 100, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("آكتب هنآ آلي آلكلام", (screenW * 0.4671) - 1, (screenH * 0.3529) - 1, (screenW * 0.5373) - 1, (screenH * 0.3646) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("آكتب هنآ آلي آلكلام", (screenW * 0.4671) + 1, (screenH * 0.3529) - 1, (screenW * 0.5373) + 1, (screenH * 0.3646) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("آكتب هنآ آلي آلكلام", (screenW * 0.4671) - 1, (screenH * 0.3529) + 1, (screenW * 0.5373) - 1, (screenH * 0.3646) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("آكتب هنآ آلي آلكلام", (screenW * 0.4671) + 1, (screenH * 0.3529) + 1, (screenW * 0.5373) + 1, (screenH * 0.3646) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("آكتب هنآ آلي آلكلام", screenW * 0.4671, screenH * 0.3529, screenW * 0.5373, screenH * 0.3646, tocolor(254, 205, 6, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawLine(screenW * 0.4034, screenH * 0.5273, screenW * 0.5959, screenH * 0.5273, tocolor(154, 253, 0, 255), 1, false) dxDrawText("# أرسآل رسآله لكل آلاعبين", (screenW * 0.4583) - 1, (screenH * 0.5404) - 1, (screenW * 0.6508) - 1, (screenH * 0.5833) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أرسآل رسآله لكل آلاعبين", (screenW * 0.4583) + 1, (screenH * 0.5404) - 1, (screenW * 0.6508) + 1, (screenH * 0.5833) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أرسآل رسآله لكل آلاعبين", (screenW * 0.4583) - 1, (screenH * 0.5404) + 1, (screenW * 0.6508) - 1, (screenH * 0.5833) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أرسآل رسآله لكل آلاعبين", (screenW * 0.4583) + 1, (screenH * 0.5404) + 1, (screenW * 0.6508) + 1, (screenH * 0.5833) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أرسآل رسآله لكل آلاعبين", screenW * 0.4583, screenH * 0.5404, screenW * 0.6508, screenH * 0.5833, tocolor(3, 14, 254, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# جميع آلحقوق تعود لـ iMr.Dead", (screenW * 0.4378) - 1, (screenH * 0.3242) - 1, (screenW * 0.5842) - 1, (screenH * 0.3464) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# جميع آلحقوق تعود لـ iMr.Dead", (screenW * 0.4378) + 1, (screenH * 0.3242) - 1, (screenW * 0.5842) + 1, (screenH * 0.3464) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# جميع آلحقوق تعود لـ iMr.Dead", (screenW * 0.4378) - 1, (screenH * 0.3242) + 1, (screenW * 0.5842) - 1, (screenH * 0.3464) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# جميع آلحقوق تعود لـ iMr.Dead", (screenW * 0.4378) + 1, (screenH * 0.3242) + 1, (screenW * 0.5842) + 1, (screenH * 0.3464) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# جميع آلحقوق تعود لـ iMr.Dead", screenW * 0.4378, screenH * 0.3242, screenW * 0.5842, screenH * 0.3464, tocolor(254, 2, 2, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("لفتح واغلاق هذآ النآفذة ", (screenW * 0.4619) - 1, (screenH * 0.5677) - 1, (screenW * 0.6215) - 1, (screenH * 0.5964) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("لفتح واغلاق هذآ النآفذة ", (screenW * 0.4619) + 1, (screenH * 0.5677) - 1, (screenW * 0.6215) + 1, (screenH * 0.5964) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("لفتح واغلاق هذآ النآفذة ", (screenW * 0.4619) - 1, (screenH * 0.5677) + 1, (screenW * 0.6215) - 1, (screenH * 0.5964) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("لفتح واغلاق هذآ النآفذة ", (screenW * 0.4619) + 1, (screenH * 0.5677) + 1, (screenW * 0.6215) + 1, (screenH * 0.5964) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("لفتح واغلاق هذآ النآفذة ", screenW * 0.4619, screenH * 0.5677, screenW * 0.6215, screenH * 0.5964, tocolor(174, 254, 1, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أضغظ F8 - وأكتب send", (screenW * 0.4546) - 1, (screenH * 0.5964) - 1, (screenW * 0.6296) - 1, (screenH * 0.6237) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أضغظ F8 - وأكتب send", (screenW * 0.4546) + 1, (screenH * 0.5964) - 1, (screenW * 0.6296) + 1, (screenH * 0.6237) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أضغظ F8 - وأكتب send", (screenW * 0.4546) - 1, (screenH * 0.5964) + 1, (screenW * 0.6296) - 1, (screenH * 0.6237) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أضغظ F8 - وأكتب send", (screenW * 0.4546) + 1, (screenH * 0.5964) + 1, (screenW * 0.6296) + 1, (screenH * 0.6237) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أضغظ F8 - وأكتب send", screenW * 0.4546, screenH * 0.5964, screenW * 0.6296, screenH * 0.6237, tocolor(0, 254, 168, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# جميع الحقوق آلمحفوظة : Team-Dead-i7", (screenW * 0.4334) - 1, (screenH * 0.6237) - 1, (screenW * 0.5556) - 1, (screenH * 0.6432) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# جميع الحقوق آلمحفوظة : Team-Dead-i7", (screenW * 0.4334) + 1, (screenH * 0.6237) - 1, (screenW * 0.5556) + 1, (screenH * 0.6432) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# جميع الحقوق آلمحفوظة : Team-Dead-i7", (screenW * 0.4334) - 1, (screenH * 0.6237) + 1, (screenW * 0.5556) - 1, (screenH * 0.6432) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# جميع الحقوق آلمحفوظة : Team-Dead-i7", (screenW * 0.4334) + 1, (screenH * 0.6237) + 1, (screenW * 0.5556) + 1, (screenH * 0.6432) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# جميع الحقوق آلمحفوظة : Team-Dead-i7", screenW * 0.4334, screenH * 0.6237, screenW * 0.5556, screenH * 0.6432, tocolor(0, 47, 253, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawLine(screenW * 0.4034, screenH * 0.6563, screenW * 0.5959, screenH * 0.6563, tocolor(154, 253, 0, 255), 1, false) dxDrawText("تحذير : هذآ آلوحة لآ تفتح لكل حآليأ", (screenW * 0.4407) - 1, (screenH * 0.6693) - 1, (screenW * 0.5725) - 1, (screenH * 0.6953) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("تحذير : هذآ آلوحة لآ تفتح لكل حآليأ", (screenW * 0.4407) + 1, (screenH * 0.6693) - 1, (screenW * 0.5725) + 1, (screenH * 0.6953) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("تحذير : هذآ آلوحة لآ تفتح لكل حآليأ", (screenW * 0.4407) - 1, (screenH * 0.6693) + 1, (screenW * 0.5725) - 1, (screenH * 0.6953) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("تحذير : هذآ آلوحة لآ تفتح لكل حآليأ", (screenW * 0.4407) + 1, (screenH * 0.6693) + 1, (screenW * 0.5725) + 1, (screenH * 0.6953) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("تحذير : هذآ آلوحة لآ تفتح لكل حآليأ", screenW * 0.4407, screenH * 0.6693, screenW * 0.5725, screenH * 0.6953, tocolor(0, 252, 136, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# للفتحهآ بـ قروب كونسل وآدمن فقط !", (screenW * 0.4407) - 1, (screenH * 0.6953) - 1, (screenW * 0.5769) - 1, (screenH * 0.7148) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# للفتحهآ بـ قروب كونسل وآدمن فقط !", (screenW * 0.4407) + 1, (screenH * 0.6953) - 1, (screenW * 0.5769) + 1, (screenH * 0.7148) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# للفتحهآ بـ قروب كونسل وآدمن فقط !", (screenW * 0.4407) - 1, (screenH * 0.6953) + 1, (screenW * 0.5769) - 1, (screenH * 0.7148) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# للفتحهآ بـ قروب كونسل وآدمن فقط !", (screenW * 0.4407) + 1, (screenH * 0.6953) + 1, (screenW * 0.5769) + 1, (screenH * 0.7148) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# للفتحهآ بـ قروب كونسل وآدمن فقط !", screenW * 0.4407, screenH * 0.6953, screenW * 0.5769, screenH * 0.7148, tocolor(249, 0, 251, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أهلا وسهلا بالسيرفر \"{SMILIES_PATH}/icon_smile.gif\" alt=\"\" title=\"Smile\" />", (screenW * 0.4619) - 1, (screenH * 0.7279) - 1, (screenW * 0.6215) - 1, (screenH * 0.7604) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أهلا وسهلا بالسيرفر \"{SMILIES_PATH}/icon_smile.gif\" alt=\"\" title=\"Smile\" />", (screenW * 0.4619) + 1, (screenH * 0.7279) - 1, (screenW * 0.6215) + 1, (screenH * 0.7604) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أهلا وسهلا بالسيرفر \"{SMILIES_PATH}/icon_smile.gif\" alt=\"\" title=\"Smile\" />", (screenW * 0.4619) - 1, (screenH * 0.7279) + 1, (screenW * 0.6215) - 1, (screenH * 0.7604) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أهلا وسهلا بالسيرفر \"{SMILIES_PATH}/icon_smile.gif\" alt=\"\" title=\"Smile\" />", (screenW * 0.4619) + 1, (screenH * 0.7279) + 1, (screenW * 0.6215) + 1, (screenH * 0.7604) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# أهلا وسهلا بالسيرفر \"{SMILIES_PATH}/icon_smile.gif\" alt=\"\" title=\"Smile\" />", screenW * 0.4619, screenH * 0.7279, screenW * 0.6215, screenH * 0.7604, tocolor(47, 250, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# مرحبآ بك بـ آلوحه ", (screenW * 0.4714) - 1, (screenH * 0.2865) - 1, (screenW * 0.6215) - 1, (screenH * 0.2982) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# مرحبآ بك بـ آلوحه ", (screenW * 0.4714) + 1, (screenH * 0.2865) - 1, (screenW * 0.6215) + 1, (screenH * 0.2982) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# مرحبآ بك بـ آلوحه ", (screenW * 0.4714) - 1, (screenH * 0.2865) + 1, (screenW * 0.6215) - 1, (screenH * 0.2982) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# مرحبآ بك بـ آلوحه ", (screenW * 0.4714) + 1, (screenH * 0.2865) + 1, (screenW * 0.6215) + 1, (screenH * 0.2982) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) dxDrawText("# مرحبآ بك بـ آلوحه ", screenW * 0.4714, screenH * 0.2865, screenW * 0.6215, screenH * 0.2982, tocolor(0, 219, 108, 255), 1.00, "default-bold", "left", "top", false, true, false, true, false) end showw = false addEvent("paneldx",true) addEventHandler("paneldx",root, function() if showw == false then for i = 1,4 do guiSetVisible(Wins.wnd[i],true) end addEventHandler("onClientRender",root,dxx) showCursor(true) guiSetInputEnabled(true) showw = true else for i = 1,4 do guiSetVisible(Wins.wnd[i],false) end removeEventHandler("onClientRender",root,dxx) showCursor(false) guiSetInputEnabled(false) showw = false end end) server local paneldx = "send" local Groups = { "Console", "Admin" } addCommandHandler(paneldx, function (player) for k,v in ipairs ( Groups ) do if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(player)), aclGetGroup(v)) ) then triggerClientEvent(player, "paneldx", player) return true end end end)
  7. https://forum.multitheftauto.com/viewtopic.php?f=104&t=101281
  8. function dxDrawTextOnElement(TheElement,text,height,distance,R,G,B,alpha,size,font,checkBuildings,checkVehicles,checkPeds,checkDummies,seeThroughStuff,ignoreSomeObjectsForCamera,ignoredElement) local x, y, z = getElementPosition(TheElement) local x2, y2, z2 = getElementPosition(localPlayer) local distance = distance or 20 local height = height or 1 local checkBuildings = checkBuildings or true local checkVehicles = checkVehicles or false local checkPeds = checkPeds or false local checkObjects = checkObjects or true local checkDummies = checkDummies or true local seeThroughStuff = seeThroughStuff or false local ignoreSomeObjectsForCamera = ignoreSomeObjectsForCamera or false local ignoredElement = ignoredElement or nil if (isLineOfSightClear(x, y, z, x2, y2, z2, checkBuildings, checkVehicles, checkPeds , checkObjects,checkDummies,seeThroughStuff,ignoreSomeObjectsForCamera,ignoredElement)) then local sx, sy = getScreenFromWorldPosition(x, y, z+height) if(sx) and (sy) then local distanceBetweenPoints = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) if(distanceBetweenPoints < distance) then dxDrawText(text, sx+2, sy+2, sx, sy, tocolor(R or 255, G or 255, B or 255, alpha or 255), (size or 1)-(distanceBetweenPoints / distance), font or "arial", "center", "center") end end end end font1 = dxCreateFont("ff.ttf", 30) addEventHandler ( 'onClientRender', root, function ( ) dxDrawTextOnElement(dr,guiGetText(TAG),1,20,0,0,255,255,1,font1) end )
  9. تفضل http://arabsh.com/files/0c344c4b65f5/mapz.rar.html
  10. He say i got new crash ------
×
×
  • Create New...