Jump to content

x[ مشكلة في كود ]x | يا شباب ابي حل سريع في كود غبي -_-


Recommended Posts

شبآب انا اصنع الان سكربت ارساال رسالة لاعبيين جميع

نوع السكربت (dx)

الكود الي بة المشكلة ومو يبي خلي اللوح تفتح او تظهر حتي

guiSetVisible(button1,false) 
addEvent("paneldx",true) 
addEventHandler("paneldx",root, 
function() 
    if guiGetVisible (button1) then    
       guiSetVisible (button1, false ) 
       showCursor(false) 
       guiSetInputEnabled(false) 
    else 
        guiSetVisible (button1, true ) 
        showCursor(true) 
        guiSetInputEnabled(true) 
    end 
end) 

آلسيرفر

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) 
  
addEvent("text1",true) 
addEventHandler("text1",root, 
function(text) 
triggerClientEvent(root, "text2", root,text) 
end) 
  

ابي الحل سريييييييييييييييييييييع :cry::cry::cry::cry::cry:

Link to comment

yourdx عدل الكلمة ذي لإسم فنكشن الدي إكس حقك

show = false 
  
addEvent("paneldx",true) 
addEventHandler("paneldx",root, 
function() 
    if show == false then   
       addEventHandler("onClientRender",root,yourdx) 
       showCursor(true) 
       guiSetInputEnabled(true) 
       show = true 
    else 
        removeEventHandler("onClientRender",root,yourdx) 
        showCursor(false) 
        guiSetInputEnabled(false) 
        show = false 
    end 
end) 
Link to comment
yourdx عدل الكلمة ذي لإسم فنكشن الدي إكس حقك

show = false 
  
addEvent("paneldx",true) 
addEventHandler("paneldx",root, 
function() 
    if show == false then   
       addEventHandler("onClientRender",root,yourdx) 
       showCursor(true) 
       guiSetInputEnabled(true) 
       show = true 
    else 
        removeEventHandler("onClientRender",root,yourdx) 
        showCursor(false) 
        guiSetInputEnabled(false) 
        show = false 
    end 
end) 

لم نتحج حتي الان :cry::cry::cry:

Link to comment
button1 = guiCreateButton(0.51, 0.45, 0.08, 0.06, "Send | أرسآل", true) 
        guiSetFont(button1, "default-bold-small") 
        guiSetProperty(button1, "NormalTextColour", "FFFE05BB") 
  
  
button2 = guiCreateButton(0.41, 0.45, 0.08, 0.06, "Close | اغلاق", true) 
        guiSetFont(button2, "default-bold-small") 
        guiSetProperty(button2, "NormalTextColour", "FF0391FF") 
  
  
label19 = guiCreateLabel(6, 300, 1350, 95, "", false) 
  
  
edit1 = guiCreateEdit(553, 290, 263, 36, "", false)     
local screenW, screenH = guiGetScreenSize() 
  
  
    function dx() 

show = false 
  
addEvent("paneldx",true) 
addEventHandler("paneldx",root, 
function() 
    if show == false then   
       addEventHandler("onClientRender",root,dx) 
       showCursor(true) 
       guiSetInputEnabled(true) 
       show = true 
    else 
        removeEventHandler("onClientRender",root,dx) 
        showCursor(false) 
        guiSetInputEnabled(false) 
        show = false 
    end 
end) 

Link to comment

ما أفتح سكايبي حالياً, كودي عطيتك هو ومافيه شيء غلط

المشكلة من عندك, تأكد قبل اللوحة حقت الدي أكس أنك حاط كذا

function yourdx() 
Link to comment
ما أفتح سكايبي حالياً, كودي عطيتك هو ومافيه شيء غلط

المشكلة من عندك, تأكد قبل اللوحة حقت الدي أكس أنك حاط كذا

function yourdx() 

الكلنيت -_--

button1 = guiCreateButton(0.51, 0.45, 0.08, 0.06, "Send | أرسآل", true) 
        guiSetFont(button1, "default-bold-small") 
        guiSetProperty(button1, "NormalTextColour", "FFFE05BB") 
  
  
button2 = guiCreateButton(0.41, 0.45, 0.08, 0.06, "Close | اغلاق", true) 
        guiSetFont(button2, "default-bold-small") 
        guiSetProperty(button2, "NormalTextColour", "FF0391FF") 
  
  
label19 = guiCreateLabel(6, 300, 1350, 95, "", false) 
  
  
edit1 = guiCreateEdit(553, 290, 263, 36, "", false)     
local screenW, screenH = guiGetScreenSize() 
  
  
    function dx() 
        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 
show = false 
  
addEvent("paneldx",true) 
addEventHandler("paneldx",root, 
function() 
    if show == false then   
       addEventHandler("onClientRender",root,dx) 
       showCursor(true) 
       guiSetInputEnabled(true) 
       show = true 
    else 
        removeEventHandler("onClientRender",root,dx) 
        showCursor(false) 
        guiSetInputEnabled(false) 
        show = false 
    end 
end) 

Link to comment
ما أفتح سكايبي حالياً, كودي عطيتك هو ومافيه شيء غلط

المشكلة من عندك, تأكد قبل اللوحة حقت الدي أكس أنك حاط كذا

function yourdx() 

الكلنيت -_--

button1 = guiCreateButton(0.51, 0.45, 0.08, 0.06, "Send | أرسآل", true) 
        guiSetFont(button1, "default-bold-small") 
        guiSetProperty(button1, "NormalTextColour", "FFFE05BB") 
  
  
button2 = guiCreateButton(0.41, 0.45, 0.08, 0.06, "Close | اغلاق", true) 
        guiSetFont(button2, "default-bold-small") 
        guiSetProperty(button2, "NormalTextColour", "FF0391FF") 
  
  
label19 = guiCreateLabel(6, 300, 1350, 95, "", false) 
  
  
edit1 = guiCreateEdit(553, 290, 263, 36, "", false)     
local screenW, screenH = guiGetScreenSize() 
  
  
    function dx() 
        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 
show = false 
  
addEvent("paneldx",true) 
addEventHandler("paneldx",root, 
function() 
    if show == false then   
       addEventHandler("onClientRender",root,dx) 
       showCursor(true) 
       guiSetInputEnabled(true) 
       show = true 
    else 
        removeEventHandler("onClientRender",root,dx) 
        showCursor(false) 
        guiSetInputEnabled(false) 
        show = false 
    end 
end) 

Link to comment
أكتب بأف 8

debugscript 3

وسوي إعادة تشغيل للمود حقك, وإذا طلع لك تحت بالشاشة كلام لونه أحمر أو أصفر عطني هو هنا

يطلع باف8 debugscript: Your debug mode is already that

Link to comment
أكتب بأف 8

debugscript 3

وسوي إعادة تشغيل للمود حقك, وإذا طلع لك تحت بالشاشة كلام لونه أحمر أو أصفر عطني هو هنا

ERROR: Server Triggered ClientSide event Dx But Event Is Not Addend ClinetSide

ERROR: Server Triggered ClientSide event Dx But Event Is Not Addend ClinetSide

Link to comment
إطرح ملف سيرفر كامل, فيه ترايقر عندك مو موجود بالكلنت
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) 
  
addEvent("text1",true) 
addEventHandler("text1",root, 
function(text) 
triggerClientEvent(root, "text2", root,text) 
end) 
  

Link to comment
  
addEvent("text1",true) 
addEventHandler("text1",root, 
function(text) 
triggerClientEvent(root, "text2", root,text) 
end) 

وش هاد تستقبل ترايقر وترسله تاني من دون اي اكواد

+ ما شفت ترايقر في الكلينت بهاي الاسم

تبي مساعده حط اكوادك كامله لا تحط لي نصها -_- خايف علي مودك اذا سوي وامسح الاكواد بعدها لا تتعبنا معك

Link to comment
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) 

Link to comment

@[#]_iMr.[D]ea[D]<3 : عندك مشكلة في الأمر addCommandHandler حيث أنك تعمل لوب لأكثرمن قيمة فيكون الترايقر للكلنت أكثر من مرة

الإصلاح هنا :

local paneldx = "send" 
local Groups = { "Console", "Admin" } 
  
function isPlayerAdmin(player) 
    for k,v in ipairs ( Groups ) do 
        if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(player)), aclGetGroup(v)) ) then 
            return true 
        end 
    end 
end 
  
addCommandHandler ( paneldx, 
    function (player) 
        if (isPlayerAdmin(player)) then 
            triggerClientEvent (player, "paneldx", player) 
        end 
    end 
) 
  

Link to comment
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) 

شــككرآآ .. ولكن المشكلة ان الزر مو يبي يضغظ اي شئ -_- علي العموم يتم اغلاق الموضوع :cry::cry:

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...