Jump to content

مشكله حلوهـ


saef

Recommended Posts

ي عيال انا صممت مود الانتقلات دي اكس

و سويت الوحه + حطيت جريد لست

+ و حطيت بوتن مخفي و فوقه دي اكس

+ شغلته م اشتغل

كلنت

  
  
Please Select = { 
    {"ساحة القتال الاول",273.73892211914, 1990.8371582031, 17.640625 }, 
                         {"ساحة القتال الثاني",1611.3591308594, 754.52416992188, 10.87656211853 }, 
                         {"حرب السكاكين",-415.7585144043, -634.93737792969, 11.637937545776 }, 
                         {"الستراحه",-724.26849365234, 971.14849853516, 12.31086063385 }, 
                         {"محل بيع الاسلحه",1348.0174560547, -1279.7244873047, 13.3828125 }, 
    {"البنك الرئيسي",1480.1080322266, -1738.6528320313, 13.546875 }, 
                         {"النخيل",2121.5476074219, 1390.9613037109, 10.812517166138 }, 
                         {"الدائري",1686.3471679688, 1396.9626464844, 10.74236869812 }, 
                         {"الفندق",-1755.3333740234, 949.79974365234, 24.7421875 }, 
                         {"مهمة سرقة البنك",591.33178710938, -1238.0036621094, 17.89847946167 }, 
                     {"ساحة التفجير",-2087.2016601563, -125.29878234863, 35.327392578125 }, 
                         {"ساحة الدرفت",1002.9132080078, -2323.3430175781, 13.095125198364 }, 
                         {"ساحة الرفع",2849.1574707031, -1754.2189941406, 11.046875 }, 
                          {"المجمع السكني1",2602.2561035156, 1779.1556396484, 10.8203125 }, 
                         {"المجمع السكني2",-1687.9128417969, 1356.2553710938, 7.1721897125244 }, 
    {"الـغـروب",635.01287841797, 1696.4790039063, 6.9921875 }, 
        {"الـمـطـآر الاول",-1022.7536621094, 471.78393554688, 14.346378326416 }, 
        {"الـمـطـآر الـثـآني",1470.1495361328, 1172.9645996094, 13.132493019104 }, 
                         {"الـمـطـآر الـثـآلـث",-1367.5183105469, -90.866271972656, 14.1484375 }, 
                          
} 
  
--[[------------------------------------------------- 
Notes: 
  
> This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running. 
    To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there. 
--]]------------------------------------------------- 
  
  
GUIEditor = { 
    gridlist = {}, 
    staticimage = {}, 
    button = {}, 
    label = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.button[1] = guiCreateButton(649, 613, 120, 33, "", false) 
        guiSetAlpha(GUIEditor.button[1], 0.00) 
  
  
        GUIEditor.label[1] = guiCreateLabel(687, 617, 159, 40, "انتقل", false) 
        guiSetFont(GUIEditor.label[1], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[1], 249, 230, 13) 
  
  
        GUIEditor.staticimage[1] = guiCreateStaticImage(515, 151, 417, 462, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") 
  
        GUIEditor.gridlist[1] = guiCreateGridList((417 - 402) / 2, (462 - 425) / 2, 402, 425, false, GUIEditor.staticimage[1]) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "Please Select", 0.9) 
  
  
        GUIEditor.staticimage[2] = guiCreateStaticImage(514, 118, 418, 33, ":gggg/images/dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[2], "ImageColours", "tl:FEDFF303 tr:FEDFF303 bl:FEDFF303 br:FEDFF303") 
  
        GUIEditor.label[2] = guiCreateLabel(75, 0, 250, 33, "Mr.sA~~eF~~", false, GUIEditor.staticimage[2]) 
        guiSetFont(GUIEditor.label[2], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[2], 167, 0, 0) 
        guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) 
        guiLabelSetVerticalAlign(GUIEditor.label[2], "center") 
  
  
        GUIEditor.staticimage[3] = guiCreateStaticImage(514, 613, 418, 33, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[3], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") 
  
        GUIEditor.label[3] = guiCreateLabel(49, -490, 306, 23, "SeRveR", false, GUIEditor.staticimage[3]) 
        guiSetFont(GUIEditor.label[3], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[3], 167, 0, 0) 
        GUIEditor.staticimage[4] = guiCreateStaticImage(482, -98, 128, 54, "dot_white.png", false, GUIEditor.staticimage[3]) 
  
  
        GUIEditor.staticimage[5] = guiCreateStaticImage(649, 617, 117, 25, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[5], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000") 
  
        GUIEditor.button[2] = guiCreateButton(-244, -8, 16, 19, "", false, GUIEditor.staticimage[5]) 
  
  
        GUIEditor.staticimage[6] = guiCreateStaticImage(630, 601, 162, 41, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[6], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000")     
    end 
) 
  
  
for i,mk in ipairs(Please Select) do 
    local row = guiGridListAddRow(GUIEditor.gridlist[1]) 
    guiGridListSetItemText(GUIEditor.gridlist[1],row,1,mk[1],false,false) 
    guiGridListSetItemData(GUIEditor.gridlist[1],row,1,{mk[2],mk[3],mk[4]}) 
    guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) 
end 
  
addEventHandler("onClientGUIClick",root, 
    function () 
        local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) 
        if source == GUIEditor.button[1] then 
            if sel ~= -1 then 
                local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) 
                setElementPosition(localPlayer,x,y,z) 
            else 
                outputChatBox("* Please Select A Positon",255,0,0) 
            end 
        end 
    end 
) 
  
  
addEvent("onClientGUIClick",true) 
addEventHandler("onClientGUIClick",root, 
    function () 
        local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) 
        if source == GUIEditor.button[1] then 
            if sel ~= -1 then 
                local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) 
                setElementPosition(localPlayer,x,y,z) 
                guiSetVisible (GUIEditor.staticimage[1], false ) 
                showCursor(false) 
                guiSetInputEnabled(false) 
                else 
                outputChatBox("* You Must Select Place First | يجب تحديد ألمكان اولآ",255,100,100,true) 
            end 
        end 
    end 
) 
  
  
  
GUIEditor.staticimage[1] = false 
addEventHandler('onClientRender',root, function (   ) 
if ( GUIEditor.staticimage[1] ) then 
dxDrawRectangle (0,0,800,600,tocolor(0,0,0,190),false) 
            end 
end) 
  
bindKey('f6','down', function ( ) 
GUIEditor.staticimage[1] = not GUIEditor.staticimage[1] 
showCursor ( GUIEditor.staticimage[1] ) 
end) 
  

Link to comment
  
  
PleaseSelect = { 
    {"ساحة القتال الاول",273.73892211914, 1990.8371582031, 17.640625 }, 
                         {"ساحة القتال الثاني",1611.3591308594, 754.52416992188, 10.87656211853 }, 
                         {"حرب السكاكين",-415.7585144043, -634.93737792969, 11.637937545776 }, 
                         {"الستراحه",-724.26849365234, 971.14849853516, 12.31086063385 }, 
                         {"محل بيع الاسلحه",1348.0174560547, -1279.7244873047, 13.3828125 }, 
    {"البنك الرئيسي",1480.1080322266, -1738.6528320313, 13.546875 }, 
                         {"النخيل",2121.5476074219, 1390.9613037109, 10.812517166138 }, 
                         {"الدائري",1686.3471679688, 1396.9626464844, 10.74236869812 }, 
                         {"الفندق",-1755.3333740234, 949.79974365234, 24.7421875 }, 
                         {"مهمة سرقة البنك",591.33178710938, -1238.0036621094, 17.89847946167 }, 
                     {"ساحة التفجير",-2087.2016601563, -125.29878234863, 35.327392578125 }, 
                         {"ساحة الدرفت",1002.9132080078, -2323.3430175781, 13.095125198364 }, 
                         {"ساحة الرفع",2849.1574707031, -1754.2189941406, 11.046875 }, 
                          {"المجمع السكني1",2602.2561035156, 1779.1556396484, 10.8203125 }, 
                         {"المجمع السكني2",-1687.9128417969, 1356.2553710938, 7.1721897125244 }, 
    {"الـغـروب",635.01287841797, 1696.4790039063, 6.9921875 }, 
        {"الـمـطـآر الاول",-1022.7536621094, 471.78393554688, 14.346378326416 }, 
        {"الـمـطـآر الـثـآني",1470.1495361328, 1172.9645996094, 13.132493019104 }, 
                         {"الـمـطـآر الـثـآلـث",-1367.5183105469, -90.866271972656, 14.1484375 }, 
                          
} 
  
--[[------------------------------------------------- 
Notes: 
  
> This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running. 
    To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there. 
--]]------------------------------------------------- 
  
  
GUIEditor = { 
    gridlist = {}, 
    staticimage = {}, 
    button = {}, 
    label = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.button[1] = guiCreateButton(649, 613, 120, 33, "", false) 
        guiSetAlpha(GUIEditor.button[1], 0.00) 
  
  
        GUIEditor.label[1] = guiCreateLabel(687, 617, 159, 40, "انتقل", false) 
        guiSetFont(GUIEditor.label[1], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[1], 249, 230, 13) 
  
  
        GUIEditor.staticimage[1] = guiCreateStaticImage(515, 151, 417, 462, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") 
  
        GUIEditor.gridlist[1] = guiCreateGridList((417 - 402) / 2, (462 - 425) / 2, 402, 425, false, GUIEditor.staticimage[1]) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "Please Select", 0.9) 
  
  
        GUIEditor.staticimage[2] = guiCreateStaticImage(514, 118, 418, 33, ":gggg/images/dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[2], "ImageColours", "tl:FEDFF303 tr:FEDFF303 bl:FEDFF303 br:FEDFF303") 
  
        GUIEditor.label[2] = guiCreateLabel(75, 0, 250, 33, "Mr.sA~~eF~~", false, GUIEditor.staticimage[2]) 
        guiSetFont(GUIEditor.label[2], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[2], 167, 0, 0) 
        guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) 
        guiLabelSetVerticalAlign(GUIEditor.label[2], "center") 
  
  
        GUIEditor.staticimage[3] = guiCreateStaticImage(514, 613, 418, 33, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[3], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") 
  
        GUIEditor.label[3] = guiCreateLabel(49, -490, 306, 23, "SeRveR", false, GUIEditor.staticimage[3]) 
        guiSetFont(GUIEditor.label[3], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[3], 167, 0, 0) 
        GUIEditor.staticimage[4] = guiCreateStaticImage(482, -98, 128, 54, "dot_white.png", false, GUIEditor.staticimage[3]) 
  
  
        GUIEditor.staticimage[5] = guiCreateStaticImage(649, 617, 117, 25, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[5], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000") 
  
        GUIEditor.button[2] = guiCreateButton(-244, -8, 16, 19, "", false, GUIEditor.staticimage[5]) 
  
  
        GUIEditor.staticimage[6] = guiCreateStaticImage(630, 601, 162, 41, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[6], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000")     
    end 
) 
  
  
for i,mk in ipairs(PleaseSelect) do 
    local row = guiGridListAddRow(GUIEditor.gridlist[1]) 
    guiGridListSetItemText(GUIEditor.gridlist[1],row,1,mk[1],false,false) 
    guiGridListSetItemData(GUIEditor.gridlist[1],row,1,{mk[2],mk[3],mk[4]}) 
    guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) 
end 
  
addEventHandler("onClientGUIClick",root, 
    function () 
        local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) 
        if source == GUIEditor.button[1] then 
            if sel ~= -1 then 
                local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) 
                setElementPosition(localPlayer,x,y,z) 
            else 
                outputChatBox("* Please Select A Positon",255,0,0) 
            end 
        end 
    end 
) 
  
  
addEvent("onClientGUIClick",true) 
addEventHandler("onClientGUIClick",root, 
    function () 
        local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) 
        if source == GUIEditor.button[1] then 
            if sel ~= -1 then 
                local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) 
                setElementPosition(localPlayer,x,y,z) 
                guiSetVisible (GUIEditor.staticimage[1], false ) 
                showCursor(false) 
                guiSetInputEnabled(false) 
                else 
                outputChatBox("* You Must Select Place First | يجب تحديد ألمكان اولآ",255,100,100,true) 
            end 
        end 
    end 
) 
  
  
  
GUIEditor.staticimage[1] = false 
addEventHandler('onClientRender',root, function (   ) 
if ( GUIEditor.staticimage[1] ) then 
dxDrawRectangle (0,0,800,600,tocolor(0,0,0,190),false) 
            end 
end) 
  
bindKey('f6','down', function ( ) 
GUIEditor.staticimage[1] = not GUIEditor.staticimage[1] 
showCursor ( GUIEditor.staticimage[1] ) 
end) 
  

جرب

Link to comment
  
  
PleaseSelect = { 
    {"ساحة القتال الاول",273.73892211914, 1990.8371582031, 17.640625 }, 
                         {"ساحة القتال الثاني",1611.3591308594, 754.52416992188, 10.87656211853 }, 
                         {"حرب السكاكين",-415.7585144043, -634.93737792969, 11.637937545776 }, 
                         {"الستراحه",-724.26849365234, 971.14849853516, 12.31086063385 }, 
                         {"محل بيع الاسلحه",1348.0174560547, -1279.7244873047, 13.3828125 }, 
    {"البنك الرئيسي",1480.1080322266, -1738.6528320313, 13.546875 }, 
                         {"النخيل",2121.5476074219, 1390.9613037109, 10.812517166138 }, 
                         {"الدائري",1686.3471679688, 1396.9626464844, 10.74236869812 }, 
                         {"الفندق",-1755.3333740234, 949.79974365234, 24.7421875 }, 
                         {"مهمة سرقة البنك",591.33178710938, -1238.0036621094, 17.89847946167 }, 
                     {"ساحة التفجير",-2087.2016601563, -125.29878234863, 35.327392578125 }, 
                         {"ساحة الدرفت",1002.9132080078, -2323.3430175781, 13.095125198364 }, 
                         {"ساحة الرفع",2849.1574707031, -1754.2189941406, 11.046875 }, 
                          {"المجمع السكني1",2602.2561035156, 1779.1556396484, 10.8203125 }, 
                         {"المجمع السكني2",-1687.9128417969, 1356.2553710938, 7.1721897125244 }, 
    {"الـغـروب",635.01287841797, 1696.4790039063, 6.9921875 }, 
        {"الـمـطـآر الاول",-1022.7536621094, 471.78393554688, 14.346378326416 }, 
        {"الـمـطـآر الـثـآني",1470.1495361328, 1172.9645996094, 13.132493019104 }, 
                         {"الـمـطـآر الـثـآلـث",-1367.5183105469, -90.866271972656, 14.1484375 }, 
                          
} 
  
--[[------------------------------------------------- 
Notes: 
  
> This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running. 
    To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there. 
--]]------------------------------------------------- 
  
  
GUIEditor = { 
    gridlist = {}, 
    staticimage = {}, 
    button = {}, 
    label = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.button[1] = guiCreateButton(649, 613, 120, 33, "", false) 
        guiSetAlpha(GUIEditor.button[1], 0.00) 
  
  
        GUIEditor.label[1] = guiCreateLabel(687, 617, 159, 40, "انتقل", false) 
        guiSetFont(GUIEditor.label[1], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[1], 249, 230, 13) 
  
  
        GUIEditor.staticimage[1] = guiCreateStaticImage(515, 151, 417, 462, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") 
  
        GUIEditor.gridlist[1] = guiCreateGridList((417 - 402) / 2, (462 - 425) / 2, 402, 425, false, GUIEditor.staticimage[1]) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "Please Select", 0.9) 
  
  
        GUIEditor.staticimage[2] = guiCreateStaticImage(514, 118, 418, 33, ":gggg/images/dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[2], "ImageColours", "tl:FEDFF303 tr:FEDFF303 bl:FEDFF303 br:FEDFF303") 
  
        GUIEditor.label[2] = guiCreateLabel(75, 0, 250, 33, "Mr.sA~~eF~~", false, GUIEditor.staticimage[2]) 
        guiSetFont(GUIEditor.label[2], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[2], 167, 0, 0) 
        guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) 
        guiLabelSetVerticalAlign(GUIEditor.label[2], "center") 
  
  
        GUIEditor.staticimage[3] = guiCreateStaticImage(514, 613, 418, 33, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[3], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") 
  
        GUIEditor.label[3] = guiCreateLabel(49, -490, 306, 23, "SeRveR", false, GUIEditor.staticimage[3]) 
        guiSetFont(GUIEditor.label[3], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[3], 167, 0, 0) 
        GUIEditor.staticimage[4] = guiCreateStaticImage(482, -98, 128, 54, "dot_white.png", false, GUIEditor.staticimage[3]) 
  
  
        GUIEditor.staticimage[5] = guiCreateStaticImage(649, 617, 117, 25, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[5], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000") 
  
        GUIEditor.button[2] = guiCreateButton(-244, -8, 16, 19, "", false, GUIEditor.staticimage[5]) 
  
  
        GUIEditor.staticimage[6] = guiCreateStaticImage(630, 601, 162, 41, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[6], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000")     
    end 
) 
  
  
for i,mk in ipairs(PleaseSelect) do 
    local row = guiGridListAddRow(GUIEditor.gridlist[1]) 
    guiGridListSetItemText(GUIEditor.gridlist[1],row,1,mk[1],false,false) 
    guiGridListSetItemData(GUIEditor.gridlist[1],row,1,{mk[2],mk[3],mk[4]}) 
    guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) 
end 
  
addEventHandler("onClientGUIClick",root, 
    function () 
        local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) 
        if source == GUIEditor.button[1] then 
            if sel ~= -1 then 
                local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) 
                setElementPosition(localPlayer,x,y,z) 
            else 
                outputChatBox("* Please Select A Positon",255,0,0) 
            end 
        end 
    end 
) 
  
  
addEvent("onClientGUIClick",true) 
addEventHandler("onClientGUIClick",root, 
    function () 
        local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) 
        if source == GUIEditor.button[1] then 
            if sel ~= -1 then 
                local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) 
                setElementPosition(localPlayer,x,y,z) 
                guiSetVisible (GUIEditor.staticimage[1], false ) 
                showCursor(false) 
                guiSetInputEnabled(false) 
                else 
                outputChatBox("* You Must Select Place First | يجب تحديد ألمكان اولآ",255,100,100,true) 
            end 
        end 
    end 
) 
  
  
  
GUIEditor.staticimage[1] = false 
addEventHandler('onClientRender',root, function (   ) 
if ( GUIEditor.staticimage[1] ) then 
dxDrawRectangle (0,0,800,600,tocolor(0,0,0,190),false) 
            end 
end) 
  
bindKey('f6','down', function ( ) 
GUIEditor.staticimage[1] = not GUIEditor.staticimage[1] 
showCursor ( GUIEditor.staticimage[1] ) 
end) 
  

جرب

شوف وش جاني الصوره تحت

:shock::!:

>

Link to comment
  
  
PleaseSelect = { 
    {"ساحة القتال الاول",273.73892211914, 1990.8371582031, 17.640625 }, 
                         {"ساحة القتال الثاني",1611.3591308594, 754.52416992188, 10.87656211853 }, 
                         {"حرب السكاكين",-415.7585144043, -634.93737792969, 11.637937545776 }, 
                         {"الستراحه",-724.26849365234, 971.14849853516, 12.31086063385 }, 
                         {"محل بيع الاسلحه",1348.0174560547, -1279.7244873047, 13.3828125 }, 
    {"البنك الرئيسي",1480.1080322266, -1738.6528320313, 13.546875 }, 
                         {"النخيل",2121.5476074219, 1390.9613037109, 10.812517166138 }, 
                         {"الدائري",1686.3471679688, 1396.9626464844, 10.74236869812 }, 
                         {"الفندق",-1755.3333740234, 949.79974365234, 24.7421875 }, 
                         {"مهمة سرقة البنك",591.33178710938, -1238.0036621094, 17.89847946167 }, 
                     {"ساحة التفجير",-2087.2016601563, -125.29878234863, 35.327392578125 }, 
                         {"ساحة الدرفت",1002.9132080078, -2323.3430175781, 13.095125198364 }, 
                         {"ساحة الرفع",2849.1574707031, -1754.2189941406, 11.046875 }, 
                          {"المجمع السكني1",2602.2561035156, 1779.1556396484, 10.8203125 }, 
                         {"المجمع السكني2",-1687.9128417969, 1356.2553710938, 7.1721897125244 }, 
    {"الـغـروب",635.01287841797, 1696.4790039063, 6.9921875 }, 
        {"الـمـطـآر الاول",-1022.7536621094, 471.78393554688, 14.346378326416 }, 
        {"الـمـطـآر الـثـآني",1470.1495361328, 1172.9645996094, 13.132493019104 }, 
                         {"الـمـطـآر الـثـآلـث",-1367.5183105469, -90.866271972656, 14.1484375 }, 
                          
} 
  
--[[------------------------------------------------- 
Notes: 
  
> This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running. 
    To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there. 
--]]------------------------------------------------- 
  
  
GUIEditor = { 
    gridlist = {}, 
    staticimage = {}, 
    button = {}, 
    label = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.button[1] = guiCreateButton(649, 613, 120, 33, "", false) 
        guiSetAlpha(GUIEditor.button[1], 0.00) 
  
  
        GUIEditor.label[1] = guiCreateLabel(687, 617, 159, 40, "انتقل", false) 
        guiSetFont(GUIEditor.label[1], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[1], 249, 230, 13) 
  
  
        GUIEditor.staticimage[1] = guiCreateStaticImage(515, 151, 417, 462, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") 
  
        GUIEditor.gridlist[1] = guiCreateGridList((417 - 402) / 2, (462 - 425) / 2, 402, 425, false, GUIEditor.staticimage[1]) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "Please Select", 0.9) 
  
  
        GUIEditor.staticimage[2] = guiCreateStaticImage(514, 118, 418, 33, ":gggg/images/dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[2], "ImageColours", "tl:FEDFF303 tr:FEDFF303 bl:FEDFF303 br:FEDFF303") 
  
        GUIEditor.label[2] = guiCreateLabel(75, 0, 250, 33, "Mr.sA~~eF~~", false, GUIEditor.staticimage[2]) 
        guiSetFont(GUIEditor.label[2], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[2], 167, 0, 0) 
        guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) 
        guiLabelSetVerticalAlign(GUIEditor.label[2], "center") 
  
  
        GUIEditor.staticimage[3] = guiCreateStaticImage(514, 613, 418, 33, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[3], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") 
  
        GUIEditor.label[3] = guiCreateLabel(49, -490, 306, 23, "SeRveR", false, GUIEditor.staticimage[3]) 
        guiSetFont(GUIEditor.label[3], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[3], 167, 0, 0) 
        GUIEditor.staticimage[4] = guiCreateStaticImage(482, -98, 128, 54, "dot_white.png", false, GUIEditor.staticimage[3]) 
  
  
        GUIEditor.staticimage[5] = guiCreateStaticImage(649, 617, 117, 25, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[5], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000") 
  
        GUIEditor.button[2] = guiCreateButton(-244, -8, 16, 19, "", false, GUIEditor.staticimage[5]) 
  
  
        GUIEditor.staticimage[6] = guiCreateStaticImage(630, 601, 162, 41, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[6], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000")     
    end 
) 
  
  
for i,mk in ipairs(PleaseSelect) do 
    local row = guiGridListAddRow(GUIEditor.gridlist[1]) 
    guiGridListSetItemText(GUIEditor.gridlist[1],row,1,mk[1],false,false) 
    guiGridListSetItemData(GUIEditor.gridlist[1],row,1,{mk[2],mk[3],mk[4]}) 
    guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) 
end 
  
addEventHandler("onClientGUIClick",root, 
    function () 
        local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) 
        if source == GUIEditor.button[1] then 
            if sel ~= -1 then 
                local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) 
                setElementPosition(localPlayer,x,y,z) 
            else 
                outputChatBox("* Please Select A Positon",255,0,0) 
            end 
        end 
    end 
) 
  
  
addEvent("onClientGUIClick",true) 
addEventHandler("onClientGUIClick",root, 
    function () 
        local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) 
        if source == GUIEditor.button[1] then 
            if sel ~= -1 then 
                local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) 
                setElementPosition(localPlayer,x,y,z) 
                guiSetVisible (GUIEditor.staticimage[1], false ) 
                showCursor(false) 
                guiSetInputEnabled(false) 
                else 
                outputChatBox("* You Must Select Place First | يجب تحديد ألمكان اولآ",255,100,100,true) 
            end 
        end 
    end 
) 
  
  
  
GUIEditor.staticimage[1] = false 
addEventHandler('onClientRender',root, function (   ) 
if ( GUIEditor.staticimage[1] ) then 
dxDrawRectangle (0,0,800,600,tocolor(0,0,0,190),false) 
            end 
end) 
  
bindKey('f6','down', function ( ) 
GUIEditor.staticimage[1] = not GUIEditor.staticimage[1] 
showCursor ( GUIEditor.staticimage[1] ) 
end) 
  

جرب

شوف وش جاني الصوره تحت

:shock::!:

p><p><img src=

http://cdn.top4top.co/i_e21bb586011.png

' alt='>'>

رابط الصوره كامله

Link to comment

  
  
PleaseSelect = { 
    {"ساحة القتال الاول",273.73892211914, 1990.8371582031, 17.640625 }, 
                         {"ساحة القتال الثاني",1611.3591308594, 754.52416992188, 10.87656211853 }, 
                         {"حرب السكاكين",-415.7585144043, -634.93737792969, 11.637937545776 }, 
                         {"الستراحه",-724.26849365234, 971.14849853516, 12.31086063385 }, 
                         {"محل بيع الاسلحه",1348.0174560547, -1279.7244873047, 13.3828125 }, 
    {"البنك الرئيسي",1480.1080322266, -1738.6528320313, 13.546875 }, 
                         {"النخيل",2121.5476074219, 1390.9613037109, 10.812517166138 }, 
                         {"الدائري",1686.3471679688, 1396.9626464844, 10.74236869812 }, 
                         {"الفندق",-1755.3333740234, 949.79974365234, 24.7421875 }, 
                         {"مهمة سرقة البنك",591.33178710938, -1238.0036621094, 17.89847946167 }, 
                     {"ساحة التفجير",-2087.2016601563, -125.29878234863, 35.327392578125 }, 
                         {"ساحة الدرفت",1002.9132080078, -2323.3430175781, 13.095125198364 }, 
                         {"ساحة الرفع",2849.1574707031, -1754.2189941406, 11.046875 }, 
                          {"المجمع السكني1",2602.2561035156, 1779.1556396484, 10.8203125 }, 
                         {"المجمع السكني2",-1687.9128417969, 1356.2553710938, 7.1721897125244 }, 
    {"الـغـروب",635.01287841797, 1696.4790039063, 6.9921875 }, 
        {"الـمـطـآر الاول",-1022.7536621094, 471.78393554688, 14.346378326416 }, 
        {"الـمـطـآر الـثـآني",1470.1495361328, 1172.9645996094, 13.132493019104 }, 
                         {"الـمـطـآر الـثـآلـث",-1367.5183105469, -90.866271972656, 14.1484375 }, 
                          
} 
  
--[[------------------------------------------------- 
Notes: 
  
> This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running. 
    To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there. 
--]]------------------------------------------------- 
  
  
GUIEditor = { 
    gridlist = {}, 
    staticimage = {}, 
    button = {}, 
    label = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.button[1] = guiCreateButton(649, 613, 120, 33, "", false) 
        guiSetAlpha(GUIEditor.button[1], 0.00) 
  
  
        GUIEditor.label[1] = guiCreateLabel(687, 617, 159, 40, "انتقل", false) 
        guiSetFont(GUIEditor.label[1], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[1], 249, 230, 13) 
  
  
        GUIEditor.staticimage[1] = guiCreateStaticImage(515, 151, 417, 462, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") 
  
        GUIEditor.gridlist[1] = guiCreateGridList((417 - 402) / 2, (462 - 425) / 2, 402, 425, false, GUIEditor.staticimage[1]) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "Please Select", 0.9) 
  
  
        GUIEditor.staticimage[2] = guiCreateStaticImage(514, 118, 418, 33, ":gggg/images/dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[2], "ImageColours", "tl:FEDFF303 tr:FEDFF303 bl:FEDFF303 br:FEDFF303") 
  
        GUIEditor.label[2] = guiCreateLabel(75, 0, 250, 33, "Mr.sA~~eF~~", false, GUIEditor.staticimage[2]) 
        guiSetFont(GUIEditor.label[2], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[2], 167, 0, 0) 
        guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) 
        guiLabelSetVerticalAlign(GUIEditor.label[2], "center") 
  
  
        GUIEditor.staticimage[3] = guiCreateStaticImage(514, 613, 418, 33, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[3], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") 
  
        GUIEditor.label[3] = guiCreateLabel(49, -490, 306, 23, "SeRveR", false, GUIEditor.staticimage[3]) 
        guiSetFont(GUIEditor.label[3], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[3], 167, 0, 0) 
        GUIEditor.staticimage[4] = guiCreateStaticImage(482, -98, 128, 54, "dot_white.png", false, GUIEditor.staticimage[3]) 
  
  
        GUIEditor.staticimage[5] = guiCreateStaticImage(649, 617, 117, 25, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[5], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000") 
  
        GUIEditor.button[2] = guiCreateButton(-244, -8, 16, 19, "", false, GUIEditor.staticimage[5]) 
  
  
        GUIEditor.staticimage[6] = guiCreateStaticImage(630, 601, 162, 41, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[6], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000")     
        restartGRID (  ) 
    end 
) 
  
 function restartGRID (  ) 
for i,mk in ipairs(PleaseSelect) do 
    local row = guiGridListAddRow(GUIEditor.gridlist[1]) 
    guiGridListSetItemText(GUIEditor.gridlist[1],row,1,mk[1],false,false) 
    guiGridListSetItemData(GUIEditor.gridlist[1],row,1,{tonumber (mk[2]),tonumber (mk[3]),tonumber (mk[4])}) 
    guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) 
end 
 end 
  
addEventHandler("onClientGUIClick",root, 
    function () 
        if source == GUIEditor.button[1] then 
        local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) 
            if sel ~= -1 then 
                local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) 
                setElementPosition(localPlayer,x,y,z) 
                guiSetVisible (GUIEditor.staticimage[1], false ) 
                showCursor(false) 
                guiSetInputEnabled(false) 
                else 
                outputChatBox("* You Must Select Place First | يجب تحديد ألمكان اولآ",255,100,100,true) 
            end 
        end 
    end 
) 
  
  
  
bindKey('F6','down', function ( ) 
guiSetVisible (GUIEditor.staticimage[1], not guiGetVisible (GUIEditor.staticimage[1])) 
showCursor (guiGetVisible (GUIEditor.staticimage[1])) 
end) 
  
Link to comment

  
  
PleaseSelect = { 
    {"ساحة القتال الاول",273.73892211914, 1990.8371582031, 17.640625 }, 
                         {"ساحة القتال الثاني",1611.3591308594, 754.52416992188, 10.87656211853 }, 
                         {"حرب السكاكين",-415.7585144043, -634.93737792969, 11.637937545776 }, 
                         {"الستراحه",-724.26849365234, 971.14849853516, 12.31086063385 }, 
                         {"محل بيع الاسلحه",1348.0174560547, -1279.7244873047, 13.3828125 }, 
    {"البنك الرئيسي",1480.1080322266, -1738.6528320313, 13.546875 }, 
                         {"النخيل",2121.5476074219, 1390.9613037109, 10.812517166138 }, 
                         {"الدائري",1686.3471679688, 1396.9626464844, 10.74236869812 }, 
                         {"الفندق",-1755.3333740234, 949.79974365234, 24.7421875 }, 
                         {"مهمة سرقة البنك",591.33178710938, -1238.0036621094, 17.89847946167 }, 
                     {"ساحة التفجير",-2087.2016601563, -125.29878234863, 35.327392578125 }, 
                         {"ساحة الدرفت",1002.9132080078, -2323.3430175781, 13.095125198364 }, 
                         {"ساحة الرفع",2849.1574707031, -1754.2189941406, 11.046875 }, 
                          {"المجمع السكني1",2602.2561035156, 1779.1556396484, 10.8203125 }, 
                         {"المجمع السكني2",-1687.9128417969, 1356.2553710938, 7.1721897125244 }, 
    {"الـغـروب",635.01287841797, 1696.4790039063, 6.9921875 }, 
        {"الـمـطـآر الاول",-1022.7536621094, 471.78393554688, 14.346378326416 }, 
        {"الـمـطـآر الـثـآني",1470.1495361328, 1172.9645996094, 13.132493019104 }, 
                         {"الـمـطـآر الـثـآلـث",-1367.5183105469, -90.866271972656, 14.1484375 }, 
                          
} 
  
--[[------------------------------------------------- 
Notes: 
  
> This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running. 
    To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there. 
--]]------------------------------------------------- 
  
  
GUIEditor = { 
    gridlist = {}, 
    staticimage = {}, 
    button = {}, 
    label = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.button[1] = guiCreateButton(649, 613, 120, 33, "", false) 
        guiSetAlpha(GUIEditor.button[1], 0.00) 
  
  
        GUIEditor.label[1] = guiCreateLabel(687, 617, 159, 40, "انتقل", false) 
        guiSetFont(GUIEditor.label[1], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[1], 249, 230, 13) 
  
  
        GUIEditor.staticimage[1] = guiCreateStaticImage(515, 151, 417, 462, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") 
  
        GUIEditor.gridlist[1] = guiCreateGridList((417 - 402) / 2, (462 - 425) / 2, 402, 425, false, GUIEditor.staticimage[1]) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "Please Select", 0.9) 
  
  
        GUIEditor.staticimage[2] = guiCreateStaticImage(514, 118, 418, 33, ":gggg/images/dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[2], "ImageColours", "tl:FEDFF303 tr:FEDFF303 bl:FEDFF303 br:FEDFF303") 
  
        GUIEditor.label[2] = guiCreateLabel(75, 0, 250, 33, "Mr.sA~~eF~~", false, GUIEditor.staticimage[2]) 
        guiSetFont(GUIEditor.label[2], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[2], 167, 0, 0) 
        guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) 
        guiLabelSetVerticalAlign(GUIEditor.label[2], "center") 
  
  
        GUIEditor.staticimage[3] = guiCreateStaticImage(514, 613, 418, 33, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[3], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") 
  
        GUIEditor.label[3] = guiCreateLabel(49, -490, 306, 23, "SeRveR", false, GUIEditor.staticimage[3]) 
        guiSetFont(GUIEditor.label[3], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[3], 167, 0, 0) 
        GUIEditor.staticimage[4] = guiCreateStaticImage(482, -98, 128, 54, "dot_white.png", false, GUIEditor.staticimage[3]) 
  
  
        GUIEditor.staticimage[5] = guiCreateStaticImage(649, 617, 117, 25, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[5], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000") 
  
        GUIEditor.button[2] = guiCreateButton(-244, -8, 16, 19, "", false, GUIEditor.staticimage[5]) 
  
  
        GUIEditor.staticimage[6] = guiCreateStaticImage(630, 601, 162, 41, "dot_white.png", false) 
        guiSetProperty(GUIEditor.staticimage[6], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000")     
        restartGRID (  ) 
    end 
) 
  
 function restartGRID (  ) 
for i,mk in ipairs(PleaseSelect) do 
    local row = guiGridListAddRow(GUIEditor.gridlist[1]) 
    guiGridListSetItemText(GUIEditor.gridlist[1],row,1,mk[1],false,false) 
    guiGridListSetItemData(GUIEditor.gridlist[1],row,1,{tonumber (mk[2]),tonumber (mk[3]),tonumber (mk[4])}) 
    guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) 
end 
 end 
  
addEventHandler("onClientGUIClick",root, 
    function () 
        if source == GUIEditor.button[1] then 
        local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) 
            if sel ~= -1 then 
                local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) 
                setElementPosition(localPlayer,x,y,z) 
                guiSetVisible (GUIEditor.staticimage[1], false ) 
                showCursor(false) 
                guiSetInputEnabled(false) 
                else 
                outputChatBox("* You Must Select Place First | يجب تحديد ألمكان اولآ",255,100,100,true) 
            end 
        end 
    end 
) 
  
  
  
bindKey('F6','down', function ( ) 
guiSetVisible (GUIEditor.staticimage[1], not guiGetVisible (GUIEditor.staticimage[1])) 
showCursor (guiGetVisible (GUIEditor.staticimage[1])) 
end) 
  

انا تحت الحمراء حطا بوتن مخفي

و فوقه دي اكس حاط بس م جا شيء

كل شيء زبط الى الزر الي تحت

Link to comment
HoeydJf.png

نقلد تابل :lol::lol:

طبعا حاط لي صورة ومسميها دي اكس واخر شيء مسوي شكل كبير وقلت وش هذا -ـ-

ايش الهبل ده ؟

شوف السينتاكس

element guiCreateStaticImage ( float x, float y, float width, float height, string path, bool relative, [element parent = nil] ) 
  

bool dxDrawRectangle ( float startX, float startY, float width, float height [, int color = white, bool postGUI = false, bool subPixelPositioning = false ] ) 
  

وش جاب الجاي لدي اكس ؟ :|

Edited by Guest
Link to comment
HoeydJf.png

نقلد تابل :lol::lol:

طبعا حاط لي صورة ومسميها دي اكس واخر شيء مسوي شكل كبير وقلت وش هذا -ـ-

ايش الهبل ده ؟

شوف السينتاكس

element guiCreateStaticImage ( float x, float y, float width, float height, string path, bool relative, [element parent = nil] ) 
  

bool dxDrawText ( string text, float left, float top [, float right=left, float bottom=top, int color=white, float scale=1, 
                  mixed font="default", string alignX="left", string alignY="top", bool clip=false, bool wordBreak=false, 
                  bool postGUI=false, bool colorCoded=false, bool subPixelPositioning=false, 
                  float fRotation=0, float fRotationCenterX=0, float fRotationCenterY=0 ] ) 

وش جاب الجاي لدي اكس ؟ :|

:o اوه ماشاء الله عليك

انتا هبل ولا ايه ؟

اقولك حاط تحت شكل مربعي كبير وهو الي بالصورة اسود

وانا الي حددت عليه هو

واما بقية المود

مجرد صور لا غير

لاحظ ازين لك لا تتكلم وانت مانتا فاهم ايش اقول :lol:

الله يهديك بس يا خبير هو لازق كود الصورة ب DxDrawRectangle

والمفروض يسوي زر جاي مخفي وفوق الزر المخفي DxDrawRectangle ويحط عليه dxDrawText

وبلا مشاركاتك السخيفة مثلك .. :roll:

Link to comment

وبلا مشاركاتك السخيفة مثلك .. :roll:

صراحه الى اشوفه انت الى تحب تزيد مشاركات بس

جبت له السينتاكس

وين السخافة في هذا ؟ + ازيد مشاركات ها ؟ وش اسوي بها اخذ مشرف مثل تابل يعني ؟ :lol::lol::lol:

Link to comment
^

اصلا ماراح يتشغل كوده

DxDrawRectangle لازم يسوي متغير لل

فيه DxDrawRectangle او يسوي اسم للفنكشن ويحط كود ال

ويستخدم الرندر لاظهاره

متغير ل dx ?

:|:|:|:|:|:|

اش كلام نفر مسكل انتا ؟

Link to comment

^

يب وين المشكلة

مثال عشان تفهم

الي اقصده

    function Her() 
        dxDrawLine(257 - 1, 217 - 1, 257 - 1, 383, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(543, 217 - 1, 257 - 1, 217 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(257 - 1, 383, 543, 383, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(543, 383, 543, 217 - 1, tocolor(0, 0, 0, 255), 1, false) 
        Ex = dxDrawRectangle((screenW - 286) / 2, (screenH - 166) / 2, 286, 166, tocolor(254, 191, 0, 207), false) 
        Ex2 = dxDrawText("# Hello   " ..getPlayerName(localPlayer).." ...", (screenW - 263) / 2, (screenH - 47) / 2, ((screenW - 263) / 2) + 263, ( (screenH - 47) / 2) + 47, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) 
    end 
  
addEventHandler("onClientRender",root,Her) 
Link to comment
^

يب وين المشكلة

مثال عشان تفهم

الي اقصده

    function Her() 
        dxDrawLine(257 - 1, 217 - 1, 257 - 1, 383, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(543, 217 - 1, 257 - 1, 217 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(257 - 1, 383, 543, 383, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(543, 383, 543, 217 - 1, tocolor(0, 0, 0, 255), 1, false) 
        Ex = dxDrawRectangle((screenW - 286) / 2, (screenH - 166) / 2, 286, 166, tocolor(254, 191, 0, 207), false) 
        Ex2 = dxDrawText("# Hello   " ..getPlayerName(localPlayer).." ...", (screenW - 263) / 2, (screenH - 47) / 2, ((screenW - 263) / 2) + 263, ( (screenH - 47) / 2) + 47, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) 
    end 
  
addEventHandler("onClientRender",root,Her) 

اهنيك :)

خلك خلك بالاكواد الجاهزة ياعم :)

Link to comment
^

يب وين المشكلة

مثال عشان تفهم

الي اقصده

    function Her() 
        dxDrawLine(257 - 1, 217 - 1, 257 - 1, 383, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(543, 217 - 1, 257 - 1, 217 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(257 - 1, 383, 543, 383, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(543, 383, 543, 217 - 1, tocolor(0, 0, 0, 255), 1, false) 
        Ex = dxDrawRectangle((screenW - 286) / 2, (screenH - 166) / 2, 286, 166, tocolor(254, 191, 0, 207), false) 
        Ex2 = dxDrawText("# Hello   " ..getPlayerName(localPlayer).." ...", (screenW - 263) / 2, (screenH - 47) / 2, ((screenW - 263) / 2) + 263, ( (screenH - 47) / 2) + 47, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) 
    end 
  
addEventHandler("onClientRender",root,Her) 

اهنيك :)

خلك خلك بالاكواد الجاهزة ياعم :)

وش تقصد

ي محترف انت

مسوي لي فيها انا الي فاهم البرمجة

لو تقصد ذا

local screenW, screenH = guiGetScreenSize() 

نسيت انسخه لاني مستعجل مانب فاضي لك انت واللعبة

اكواد جاهزه قال

رح لـ حملتك بس

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