# DHwROk ~ Posted August 22, 2015 Share Posted August 22, 2015 سلام عليكم عندي مود لوحة الانتقالات دي أكس و عدلت عليه وخليته مآهو دي آكس ططيب وإضغط الزر آلي كان يشتغل عليه قبل ويفتح لي gridlist و button , آما اللوحة م يفتحها آبي حل آلكودآت GUIEditor = { gridlist = {}, window = {}, button = {} } GUIEditor.window[1] = guiCreateWindow(527, 216, 328, 369, "[ G.N | Werp # الانتقالات | G.N ]", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF00E9FD") GUIEditor.button[1] = guiCreateButton(99, 326, 131, 33, "[ werp | إنتقال ]", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFBFE00") GUIEditor.gridlist[1] = guiCreateGridList(32, 28, 261, 288, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Werp #", 0.9) ------------------------------------------------------- MKAN = { {"آسـتـرآحـة آلـجنوون",2335.490234375,-1658.9318847656,13.37931060791}, {"موقف الباصات",1790.2674560547,-1912.0159912109 , 13.396838188171}, {"سـفـيـنـة",-2520.77734375,1545.1779785156,17.328125}, {"آلـمـسـبـح",2295.2536621094,659.69207763672,10.8203125}, {"جسر المعلق",-2674.5361328125,1221.0744628906,55.4296875}, {"الفنادق",-1739.0821533203, 940.56231689453, 24.7421875}, {"الـمـعـرض",-1656.5615234375,1213.548828125,7.25}, {"المـطآر الاول",1409.7137451172,-2509.9780273438,13.5546875}, {"المـطآر الثآني",-1503.4846191406,-131.5910949707,14.1484375}, {"حي السكاني آلآول",1573.5174560547,713.45556640625,10.822286605835}, {"حي السكاني آلثآني",-1682.8609619141,1365.5950927734,7.1721897125244}, {"حي السكاني آلثآلث",2866.7397460938,-1958.3475341797,11.109375}, {"قصور الشيوخ 1",959.62994384766,-641.74029541016,121.31896209717}, {"قصور الشيوخ 2",-2400.1049804688,335.70724487305,35.171875,}, {"قصر الشيخ شادو",1170.6643066406,-2035.2841796875,69.0078125}, {"الشارع الطويل",-3037.3972167969,-3193.962890625,2.0999999046326}, {"شارع البستان",2491.12109375, -1667.4482421875, 13.34375}, {"السد الكبير",-887.02734375, 2000.9217529297, 60.654315948486}, {"الـدآئـري",1686.5134277344,1400.2590332031,10.748929977417}, {"الـنـخـيـل",2126.0661621094,1409.3852539063,10.8203125}, {"شارع الفروسيه",2878.1115722656, -1110.029296875, 10.882762908936}, {"شارع الغروب",662.55310058594, 1936.7479248047, 5.5052728652954}, {"طـعـس",1054.4178466797,2816.0053710938,13.025714874268}, {"ساحه التفجير",-2051.4926757813, -173.29304504395, 35.3203125}, {"سرقة البنك",596.84881591797, -1240.9123535156, 18.089265823364}, {"آلـبـنـكـ",1013.4171142578,-935.34442138672,42.1796875}, } for i,mk in ipairs(MKAN) 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",GUIEditor.button[1], function () local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if sel ~= -1 then local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) outputChatBox("# Warped.",54, 151, 224) fadeCamera ( false ) setTimer ( fadeCamera, 1500, 1, true ) setTimer ( setElementPosition, 1200, 1, localPlayer, x, y, z ) end end Link to comment
TAPL Posted August 22, 2015 Share Posted August 22, 2015 ما فهمت ايش تقصد ممكن تشرح بطريقة افضل؟ Link to comment
# DHwROk ~ Posted August 22, 2015 Author Share Posted August 22, 2015 ما فهمت ايش تقصدممكن تشرح بطريقة افضل؟ كود يفتح آللوحة وذي آلكودآت Link to comment
TAPL Posted August 22, 2015 Share Posted August 22, 2015 وإضغط الزر آلي كان يشتغل عليه قبل ويفتح لي gridlist و button ما اشوف شي بكودك يفتح القريد لست او الزر او اي شي ثاني + اللوحة مفتوحه انت ما قفلتها اصلا Link to comment
# DHwROk ~ Posted August 22, 2015 Author Share Posted August 22, 2015 وإضغط الزر آلي كان يشتغل عليه قبل ويفتح لي gridlist و button ما اشوف شي بكودك يفتح القريد لست او الزر او اي شي ثاني + اللوحة مفتوحه انت ما قفلتها اصلا local x, y = guiGetScreenSize() local rx, ry = (x/800), (y/600) GUIEditor = { gridlist = {}, button = {} } GUIEditor.button[1] = guiCreateButton(rx*522, ry*465, rx*205, ry*27, "", false) guiSetAlpha(GUIEditor.button[1], 0.17) GUIEditor.gridlist[1] = guiCreateGridList(rx*522, ry*206, rx*205, ry*254, false) guiGridListAddColumn(GUIEditor.gridlist[1], "Warp #", 0.9) function Warps() dxDrawLine(rx*516 - 1, ry*167 - 1, rx*516 - 1, ry*502, tocolor(54, 151, 224, 224), 1, false) dxDrawLine(rx*733, ry*167 - 1, rx*516 - 1, ry*167 - 1, tocolor(54, 151, 224, 224), 1, false) dxDrawLine(rx*516 - 1, ry*502, rx*733, ry*502, tocolor(54, 151, 224, 224), 1, false) dxDrawLine(rx*733, ry*502, rx*733, ry*167 - 1, tocolor(54, 151, 224, 224), 1, false) dxDrawRectangle(rx*516, ry*167, rx*217, ry*335, tocolor(0, 0, 0, 141), false) dxDrawLine(rx*516, ry*197, rx*733, ry*197, tocolor(54, 151, 224, 224), 1, false) dxDrawText(".::[ Warp ]::.", rx*563 - 1, ry*167 - 1, rx*690 - 1, ry*196 - 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawText(".::[ Warp ]::.", rx*563 + 1, ry*167 - 1, rx*690 + 1, ry*196 - 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawText(".::[ Warp ]::.", rx*563 - 1, ry*167 + 1, rx*690 - 1, ry*196 + 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawText(".::[ Warp ]::.", rx*563 + 1, ry*167 + 1, rx*690 + 1, ry*196 + 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawText(".::[ Warp ]::.", rx*563, ry*167, rx*690, ry*196, tocolor(255, 255, 255, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawLine(rx*522 - 1, ry*466 - 1, rx*522 - 1, ry*492, tocolor(54, 151, 224, 224), 1, false) dxDrawLine(rx*727, ry*466 - 1, rx*522 - 1, ry*466 - 1, tocolor(54, 151, 224, 224), 1, false) dxDrawLine(rx*522 - 1, ry*492, rx*727, ry*492, tocolor(54, 151, 224, 224), 1, false) dxDrawLine(rx*727, ry*492, rx*727, ry*466 - 1, tocolor(54, 151, 224, 224), 1, false) dxDrawRectangle(rx*522, ry*466, rx*205, ry*26, tocolor(0, 0, 0, 141), false) dxDrawText("[ إنتقآل ]", rx*572 - 1, ry*462 - 1, rx*680 - 1, ry*496 - 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ إنتقآل ]", rx*572 + 1, ry*462 - 1, rx*680 + 1, ry*496 - 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ إنتقآل ]", rx*572 - 1, ry*462 + 1, rx*680 - 1, ry*496 + 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ إنتقآل ]", rx*572 + 1, ry*462 + 1, rx*680 + 1, ry*496 + 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("[ إنتقآل ]", rx*572, ry*462, rx*680, ry*496, tocolor(255, 255, 255, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false) end ------------------------------------------------------- MKAN = { {"آسـتـرآحـة آلـجنوون",2335.490234375,-1658.9318847656,13.37931060791}, {"موقف الباصات",1790.2674560547,-1912.0159912109 , 13.396838188171}, {"سـفـيـنـة",-2520.77734375,1545.1779785156,17.328125}, {"آلـمـسـبـح",2295.2536621094,659.69207763672,10.8203125}, {"جسر المعلق",-2674.5361328125,1221.0744628906,55.4296875}, {"الفنادق",-1739.0821533203, 940.56231689453, 24.7421875}, {"الـمـعـرض",-1656.5615234375,1213.548828125,7.25}, {"المـطآر الاول",1409.7137451172,-2509.9780273438,13.5546875}, {"المـطآر الثآني",-1503.4846191406,-131.5910949707,14.1484375}, {"حي السكاني آلآول",1573.5174560547,713.45556640625,10.822286605835}, {"حي السكاني آلثآني",-1682.8609619141,1365.5950927734,7.1721897125244}, {"حي السكاني آلثآلث",2866.7397460938,-1958.3475341797,11.109375}, {"قصور الشيوخ 1",959.62994384766,-641.74029541016,121.31896209717}, {"قصور الشيوخ 2",-2400.1049804688,335.70724487305,35.171875,}, {"قصر الشيخ شادو",1170.6643066406,-2035.2841796875,69.0078125}, {"الشارع الطويل",-3037.3972167969,-3193.962890625,2.0999999046326}, {"شارع البستان",2491.12109375, -1667.4482421875, 13.34375}, {"السد الكبير",-887.02734375, 2000.9217529297, 60.654315948486}, {"الـدآئـري",1686.5134277344,1400.2590332031,10.748929977417}, {"الـنـخـيـل",2126.0661621094,1409.3852539063,10.8203125}, {"شارع الفروسيه",2878.1115722656, -1110.029296875, 10.882762908936}, {"شارع الغروب",662.55310058594, 1936.7479248047, 5.5052728652954}, {"طـعـس",1054.4178466797,2816.0053710938,13.025714874268}, {"ساحه التفجير",-2051.4926757813, -173.29304504395, 35.3203125}, {"سرقة البنك",596.84881591797, -1240.9123535156, 18.089265823364}, {"آلـبـنـكـ",1013.4171142578,-935.34442138672,42.1796875}, } for i,mk in ipairs(MKAN) 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",GUIEditor.button[1], function () local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if sel ~= -1 then local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) outputChatBox("# Warped.",54, 151, 224) fadeCamera ( false ) setTimer ( fadeCamera, 1500, 1, true ) setTimer ( setElementPosition, 1200, 1, localPlayer, x, y, z ) end end ,false) guiSetVisible ( GUIEditor.button[1], false ) guiSetVisible ( GUIEditor.gridlist[1], false ) ------------------------------------- function OpenWin() if removeEventHandler("onClientRender",root,Warps) then removeEventHandler("onClientRender",root,Warps) guiSetVisible ( GUIEditor.button[1], false ) guiSetVisible ( GUIEditor.gridlist[1], false ) showCursor(false) else addEventHandler("onClientRender",root,Warps) guiSetVisible ( GUIEditor.button[1], true ) guiSetVisible ( GUIEditor.gridlist[1], true ) showCursor(true) end end bindKey ( "F6", "down", OpenWin) ذي آلمود قبل لا أعدله GUIEditor = { gridlist = {}, window = {}, button = {} } GUIEditor.window[1] = guiCreateWindow(527, 216, 328, 369, "[ G.N | Werp # الانتقالات | G.N ]", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF00E9FD") GUIEditor.button[1] = guiCreateButton(99, 326, 131, 33, "[ werp | إنتقال ]", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFBFE00") GUIEditor.gridlist[1] = guiCreateGridList(32, 28, 261, 288, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Werp #", 0.9) ------------------------------------------------------- MKAN = { {"آسـتـرآحـة آلـجنوون",2335.490234375,-1658.9318847656,13.37931060791}, {"موقف الباصات",1790.2674560547,-1912.0159912109 , 13.396838188171}, {"سـفـيـنـة",-2520.77734375,1545.1779785156,17.328125}, {"آلـمـسـبـح",2295.2536621094,659.69207763672,10.8203125}, {"جسر المعلق",-2674.5361328125,1221.0744628906,55.4296875}, {"الفنادق",-1739.0821533203, 940.56231689453, 24.7421875}, {"الـمـعـرض",-1656.5615234375,1213.548828125,7.25}, {"المـطآر الاول",1409.7137451172,-2509.9780273438,13.5546875}, {"المـطآر الثآني",-1503.4846191406,-131.5910949707,14.1484375}, {"حي السكاني آلآول",1573.5174560547,713.45556640625,10.822286605835}, {"حي السكاني آلثآني",-1682.8609619141,1365.5950927734,7.1721897125244}, {"حي السكاني آلثآلث",2866.7397460938,-1958.3475341797,11.109375}, {"قصور الشيوخ 1",959.62994384766,-641.74029541016,121.31896209717}, {"قصور الشيوخ 2",-2400.1049804688,335.70724487305,35.171875,}, {"قصر الشيخ شادو",1170.6643066406,-2035.2841796875,69.0078125}, {"الشارع الطويل",-3037.3972167969,-3193.962890625,2.0999999046326}, {"شارع البستان",2491.12109375, -1667.4482421875, 13.34375}, {"السد الكبير",-887.02734375, 2000.9217529297, 60.654315948486}, {"الـدآئـري",1686.5134277344,1400.2590332031,10.748929977417}, {"الـنـخـيـل",2126.0661621094,1409.3852539063,10.8203125}, {"شارع الفروسيه",2878.1115722656, -1110.029296875, 10.882762908936}, {"شارع الغروب",662.55310058594, 1936.7479248047, 5.5052728652954}, {"طـعـس",1054.4178466797,2816.0053710938,13.025714874268}, {"ساحه التفجير",-2051.4926757813, -173.29304504395, 35.3203125}, {"سرقة البنك",596.84881591797, -1240.9123535156, 18.089265823364}, {"آلـبـنـكـ",1013.4171142578,-935.34442138672,42.1796875}, } for i,mk in ipairs(MKAN) 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",GUIEditor.button[1], function () local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if sel ~= -1 then local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) outputChatBox("# Warped.",54, 151, 224) fadeCamera ( false ) setTimer ( fadeCamera, 1500, 1, true ) setTimer ( setElementPosition, 1200, 1, localPlayer, x, y, z ) end end وذآ بعد مآعدلته Link to comment
TAPL Posted August 22, 2015 Share Posted August 22, 2015 جرب GUIEditor = { gridlist = {}, window = {}, button = {} } GUIEditor.window[1] = guiCreateWindow(527, 216, 328, 369, "[ G.N | Werp # الانتقالات | G.N ]", false) guiSetVisible(GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF00E9FD") GUIEditor.button[1] = guiCreateButton(99, 326, 131, 33, "[ werp | إنتقال ]", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFBFE00") GUIEditor.gridlist[1] = guiCreateGridList(32, 28, 261, 288, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Werp #", 0.9) MKAN = { {"آسـتـرآحـة آلـجنوون",2335.490234375,-1658.9318847656,13.37931060791}, {"موقف الباصات",1790.2674560547,-1912.0159912109 , 13.396838188171}, {"سـفـيـنـة",-2520.77734375,1545.1779785156,17.328125}, {"آلـمـسـبـح",2295.2536621094,659.69207763672,10.8203125}, {"جسر المعلق",-2674.5361328125,1221.0744628906,55.4296875}, {"الفنادق",-1739.0821533203, 940.56231689453, 24.7421875}, {"الـمـعـرض",-1656.5615234375,1213.548828125,7.25}, {"المـطآر الاول",1409.7137451172,-2509.9780273438,13.5546875}, {"المـطآر الثآني",-1503.4846191406,-131.5910949707,14.1484375}, {"حي السكاني آلآول",1573.5174560547,713.45556640625,10.822286605835}, {"حي السكاني آلثآني",-1682.8609619141,1365.5950927734,7.1721897125244}, {"حي السكاني آلثآلث",2866.7397460938,-1958.3475341797,11.109375}, {"قصور الشيوخ 1",959.62994384766,-641.74029541016,121.31896209717}, {"قصور الشيوخ 2",-2400.1049804688,335.70724487305,35.171875,}, {"قصر الشيخ شادو",1170.6643066406,-2035.2841796875,69.0078125}, {"الشارع الطويل",-3037.3972167969,-3193.962890625,2.0999999046326}, {"شارع البستان",2491.12109375, -1667.4482421875, 13.34375}, {"السد الكبير",-887.02734375, 2000.9217529297, 60.654315948486}, {"الـدآئـري",1686.5134277344,1400.2590332031,10.748929977417}, {"الـنـخـيـل",2126.0661621094,1409.3852539063,10.8203125}, {"شارع الفروسيه",2878.1115722656, -1110.029296875, 10.882762908936}, {"شارع الغروب",662.55310058594, 1936.7479248047, 5.5052728652954}, {"طـعـس",1054.4178466797,2816.0053710938,13.025714874268}, {"ساحه التفجير",-2051.4926757813, -173.29304504395, 35.3203125}, {"سرقة البنك",596.84881591797, -1240.9123535156, 18.089265823364}, {"آلـبـنـكـ",1013.4171142578,-935.34442138672,42.1796875}, } for i,mk in ipairs(MKAN) 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", GUIEditor.button[1], function() local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if sel ~= -1 then local x, y, z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1], sel, 1)) outputChatBox("# Warped.", 54, 151, 224) fadeCamera(false) setTimer(fadeCamera, 1500, 1, true) setTimer(setElementPosition, 1200, 1, localPlayer, x, y, z) end end, false) bindKey("F6", "down", function() if not guiGetVisible(GUIEditor.window[1]) then guiSetVisible(GUIEditor.window[1], true) showCursor(true) else guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end) Link to comment
# DHwROk ~ Posted August 22, 2015 Author Share Posted August 22, 2015 جرب GUIEditor = { gridlist = {}, window = {}, button = {} } GUIEditor.window[1] = guiCreateWindow(527, 216, 328, 369, "[ G.N | Werp # الانتقالات | G.N ]", false) guiSetVisible(GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF00E9FD") GUIEditor.button[1] = guiCreateButton(99, 326, 131, 33, "[ werp | إنتقال ]", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFBFE00") GUIEditor.gridlist[1] = guiCreateGridList(32, 28, 261, 288, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Werp #", 0.9) MKAN = { {"آسـتـرآحـة آلـجنوون",2335.490234375,-1658.9318847656,13.37931060791}, {"موقف الباصات",1790.2674560547,-1912.0159912109 , 13.396838188171}, {"سـفـيـنـة",-2520.77734375,1545.1779785156,17.328125}, {"آلـمـسـبـح",2295.2536621094,659.69207763672,10.8203125}, {"جسر المعلق",-2674.5361328125,1221.0744628906,55.4296875}, {"الفنادق",-1739.0821533203, 940.56231689453, 24.7421875}, {"الـمـعـرض",-1656.5615234375,1213.548828125,7.25}, {"المـطآر الاول",1409.7137451172,-2509.9780273438,13.5546875}, {"المـطآر الثآني",-1503.4846191406,-131.5910949707,14.1484375}, {"حي السكاني آلآول",1573.5174560547,713.45556640625,10.822286605835}, {"حي السكاني آلثآني",-1682.8609619141,1365.5950927734,7.1721897125244}, {"حي السكاني آلثآلث",2866.7397460938,-1958.3475341797,11.109375}, {"قصور الشيوخ 1",959.62994384766,-641.74029541016,121.31896209717}, {"قصور الشيوخ 2",-2400.1049804688,335.70724487305,35.171875,}, {"قصر الشيخ شادو",1170.6643066406,-2035.2841796875,69.0078125}, {"الشارع الطويل",-3037.3972167969,-3193.962890625,2.0999999046326}, {"شارع البستان",2491.12109375, -1667.4482421875, 13.34375}, {"السد الكبير",-887.02734375, 2000.9217529297, 60.654315948486}, {"الـدآئـري",1686.5134277344,1400.2590332031,10.748929977417}, {"الـنـخـيـل",2126.0661621094,1409.3852539063,10.8203125}, {"شارع الفروسيه",2878.1115722656, -1110.029296875, 10.882762908936}, {"شارع الغروب",662.55310058594, 1936.7479248047, 5.5052728652954}, {"طـعـس",1054.4178466797,2816.0053710938,13.025714874268}, {"ساحه التفجير",-2051.4926757813, -173.29304504395, 35.3203125}, {"سرقة البنك",596.84881591797, -1240.9123535156, 18.089265823364}, {"آلـبـنـكـ",1013.4171142578,-935.34442138672,42.1796875}, } for i,mk in ipairs(MKAN) 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", GUIEditor.button[1], function() local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if sel ~= -1 then local x, y, z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1], sel, 1)) outputChatBox("# Warped.", 54, 151, 224) fadeCamera(false) setTimer(fadeCamera, 1500, 1, true) setTimer(setElementPosition, 1200, 1, localPlayer, x, y, z) end end, false) bindKey("F6", "down", function() if not guiGetVisible(GUIEditor.window[1]) then guiSetVisible(GUIEditor.window[1], true) showCursor(true) else guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end) يب آشتغل مشكور , تمت آلإفآدهه # Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now