Adham Posted April 2, 2016 Posted April 2, 2016 سلام عليكم عملت لوحه لاكن ما شغاله كلنت GUIEditor = { checkbox = {}, button = {}, gridlist = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(555, 116, 241, 437, ":: Police Panel ::", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd ,false) GUIEditor.button[1] = guiCreateButton(12, 234, 219, 33, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFDCE400") GUIEditor.button[2] = guiCreateButton(12, 273, 219, 33, "UnJail Player", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0A6D00") GUIEditor.button[3] = guiCreateButton(126, 311, 109, 41, "Slap / Kil", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "D1008EB7") GUIEditor.button[4] = guiCreateButton(10, 311, 109, 41, "Destroy Car", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "D1008EB7") GUIEditor.button[5] = guiCreateButton(10, 358, 219, 33, "X", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "D1FFFFFF") GUIEditor.label[1] = guiCreateLabel(13, 395, 84, 15, "Your States :", false, wnd) GUIEditor.checkbox[1] = guiCreateCheckBox(97, 395, 66, 15, "Online", false, false, wnd) GUIEditor.checkbox[2] = guiCreateCheckBox(159, 395, 66, 15, "Busy", false, false, wnd) GUIEditor.label[2] = guiCreateLabel(13, 412, 88, 15, "Work States :", false, wnd) GUIEditor.label[3] = guiCreateLabel(91, 412, 150, 15, "غير أجباري | Not Required", false, wnd) guiSetProperty(GUIEditor.label[3], "NormalTextColour", "FFFF0000") grid = guiCreateGridList(9, 24, 222, 206, false, wnd) guiGridListAddColumn(grid, "Time", 0.9) wnd2 = guiCreateWindow(205, 211, 375, 170, "Slap Reason:", false) guiWindowSetSizable(wnd2, false) guiSetVisible(wnd2 ,false) GUIEditor.label[1] = guiCreateLabel(72, 37, 290, 19, "Enter slap reason ( this will be visble for all ):", false, wnd2) GUIEditor.edit[1] = guiCreateEdit(77, 61, 250, 29, "", false, wnd2) GUIEditor.button[1] = guiCreateButton(41, 139, 145, 21, "Ok", false, wnd2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(203, 139, 145, 21, "X", false, wnd2) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") end ) function Strong ( ) guiSetVisible ( wnd,true ) showCursor ( true ) -- اظهار الماوس end addCommandHandler ( "Teams",Strong ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then guiSetVisible(wnd2,false) showCursor(false) elseif ( source == GUIEditor.button[3] ) then guiSetVisible(wnd,false) guiSetVisible(wnd2,true) end end ) قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
#|_oskar_|# Posted April 2, 2016 Posted April 2, 2016 GUIEditor = { checkbox = {}, button = {}, gridlist = {}, edit = {}, label = {} } wnd = guiCreateWindow(555, 116, 241, 437, ":: Police Panel ::", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd ,false) GUIEditor.button[1] = guiCreateButton(12, 234, 219, 33, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFDCE400") GUIEditor.button[2] = guiCreateButton(12, 273, 219, 33, "UnJail Player", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0A6D00") GUIEditor.button[3] = guiCreateButton(126, 311, 109, 41, "Slap / Kil", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "D1008EB7") GUIEditor.button[4] = guiCreateButton(10, 311, 109, 41, "Destroy Car", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "D1008EB7") GUIEditor.button[5] = guiCreateButton(10, 358, 219, 33, "X", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "D1FFFFFF") GUIEditor.label[1] = guiCreateLabel(13, 395, 84, 15, "Your States :", false, wnd) GUIEditor.checkbox[1] = guiCreateCheckBox(97, 395, 66, 15, "Online", false, false, wnd) GUIEditor.checkbox[2] = guiCreateCheckBox(159, 395, 66, 15, "Busy", false, false, wnd) GUIEditor.label[2] = guiCreateLabel(13, 412, 88, 15, "Work States :", false, wnd) GUIEditor.label[3] = guiCreateLabel(91, 412, 150, 15, "غير أجباري | Not Required", false, wnd) guiSetProperty(GUIEditor.label[3], "NormalTextColour", "FFFF0000") grid = guiCreateGridList(9, 24, 222, 206, false, wnd) guiGridListAddColumn(grid, "Time", 0.9) wnd2 = guiCreateWindow(205, 211, 375, 170, "Slap Reason:", false) guiWindowSetSizable(wnd2, false) guiSetVisible(wnd2 ,false) GUIEditor.label[1] = guiCreateLabel(72, 37, 290, 19, "Enter slap reason ( this will be visble for all ):", false, wnd2) GUIEditor.edit[1] = guiCreateEdit(77, 61, 250, 29, "", false, wnd2) GUIEditor.button[1] = guiCreateButton(41, 139, 145, 21, "Ok", false, wnd2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(203, 139, 145, 21, "X", false, wnd2) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") function Strong ( ) guiSetVisible ( wnd,true ) showCursor ( true ) -- اظهار الماوس end addCommandHandler ( "Teams",Strong ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then guiSetVisible(wnd2,false) showCursor(false) elseif ( source == GUIEditor.button[3] ) then guiSetVisible(wnd,false) guiSetVisible(wnd2,true) end end ) لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
Adham Posted April 2, 2016 Author Posted April 2, 2016 شالمشكله ي اوسكر دلوقتي؟ GUIEditor = { checkbox = {}, button = {}, gridlist = {}, edit = {}, label = {} } ------ ranks = { {'1',minutes}, {'2',mintes}, {'3',mintes}, {'5',mintes}, {'10',mintes}, {'15',mintes}, {'20',mintes}, {'30',mintes}, {'40',mintes}, {'1',hours}, {'2',hours}, {'3',hours} } -- local screenW, screenH = guiGetScreenSize() wnd = guiCreateWindow(555, 116, 241, 437, ":: Police Panel ::", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd ,false) GUIEditor.button[1] = guiCreateButton(12, 234, 219, 33, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFDCE400") GUIEditor.button[2] = guiCreateButton(12, 273, 219, 33, "UnJail Player", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0A6D00") GUIEditor.button[3] = guiCreateButton(126, 311, 109, 41, "Slap / Kil", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "D1008EB7") GUIEditor.button[4] = guiCreateButton(10, 311, 109, 41, "Destroy Car", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "D1008EB7") GUIEditor.button[5] = guiCreateButton(10, 358, 219, 33, "X", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "D1FFFFFF") GUIEditor.label[1] = guiCreateLabel(13, 395, 84, 15, "Your States :", false, wnd) GUIEditor.checkbox[1] = guiCreateCheckBox(97, 395, 66, 15, "Online", false, false, wnd) GUIEditor.checkbox[2] = guiCreateCheckBox(159, 395, 66, 15, "Busy", false, false, wnd) GUIEditor.label[2] = guiCreateLabel(13, 412, 88, 15, "Work States :", false, wnd) GUIEditor.label[3] = guiCreateLabel(91, 412, 150, 15, "غير أجباري | Not Required", false, wnd) guiSetProperty(GUIEditor.label[3], "NormalTextColour", "FFFF0000") grid = guiCreateGridList(9, 24, 222, 206, false, wnd) guiGridListAddColumn(grid, "Time", 0.9) wnd2 = guiCreateWindow(205, 211, 375, 170, "Slap Reason:", false) guiWindowSetSizable(wnd2, false) guiSetVisible(wnd2 ,false) GUIEditor.label[1] = guiCreateLabel(72, 37, 290, 19, "Enter slap reason ( this will be visble for all ):", false, wnd2) GUIEditor.edit[1] = guiCreateEdit(77, 61, 250, 29, "", false, wnd2) GUIEditor.button[1] = guiCreateButton(41, 139, 145, 21, "Ok", false, wnd2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(203, 139, 145, 21, "X", false, wnd2) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") function Strong ( ) guiSetVisible ( wnd,true ) showCursor ( true ) -- اظهار الماوس end addCommandHandler ( "Teams",Strong ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then guiSetVisible(wnd2,false) showCursor(false) elseif ( source == GUIEditor.button[3] ) then guiSetVisible(wnd,false) guiSetVisible(wnd2,true) end end ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[5] ) then guiSetVisible(wnd,false) showCursor(false) end end) for _, v in ipairs (ranks) do local Row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], Row, 1, v[1], false, false) guiGridListSetItemText(GUIEditor.gridlist[1], Row, 2, v[2], false, false) end ما يظهر الجدول في القريد لست الحاجات الكتبها قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
nxFairlywell Posted April 2, 2016 Posted April 2, 2016 شالمشكله ي اوسكر دلوقتي؟ GUIEditor = { checkbox = {}, button = {}, gridlist = {}, edit = {}, label = {} } ------ ranks = { {'1',minutes}, {'2',mintes}, {'3',mintes}, {'5',mintes}, {'10',mintes}, {'15',mintes}, {'20',mintes}, {'30',mintes}, {'40',mintes}, {'1',hours}, {'2',hours}, {'3',hours} } -- local screenW, screenH = guiGetScreenSize() wnd = guiCreateWindow(555, 116, 241, 437, ":: Police Panel ::", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd ,false) GUIEditor.button[1] = guiCreateButton(12, 234, 219, 33, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFDCE400") GUIEditor.button[2] = guiCreateButton(12, 273, 219, 33, "UnJail Player", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0A6D00") GUIEditor.button[3] = guiCreateButton(126, 311, 109, 41, "Slap / Kil", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "D1008EB7") GUIEditor.button[4] = guiCreateButton(10, 311, 109, 41, "Destroy Car", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "D1008EB7") GUIEditor.button[5] = guiCreateButton(10, 358, 219, 33, "X", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "D1FFFFFF") GUIEditor.label[1] = guiCreateLabel(13, 395, 84, 15, "Your States :", false, wnd) GUIEditor.checkbox[1] = guiCreateCheckBox(97, 395, 66, 15, "Online", false, false, wnd) GUIEditor.checkbox[2] = guiCreateCheckBox(159, 395, 66, 15, "Busy", false, false, wnd) GUIEditor.label[2] = guiCreateLabel(13, 412, 88, 15, "Work States :", false, wnd) GUIEditor.label[3] = guiCreateLabel(91, 412, 150, 15, "غير أجباري | Not Required", false, wnd) guiSetProperty(GUIEditor.label[3], "NormalTextColour", "FFFF0000") grid = guiCreateGridList(9, 24, 222, 206, false, wnd) guiGridListAddColumn(grid, "Time", 0.9) wnd2 = guiCreateWindow(205, 211, 375, 170, "Slap Reason:", false) guiWindowSetSizable(wnd2, false) guiSetVisible(wnd2 ,false) GUIEditor.label[1] = guiCreateLabel(72, 37, 290, 19, "Enter slap reason ( this will be visble for all ):", false, wnd2) GUIEditor.edit[1] = guiCreateEdit(77, 61, 250, 29, "", false, wnd2) GUIEditor.button[1] = guiCreateButton(41, 139, 145, 21, "Ok", false, wnd2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(203, 139, 145, 21, "X", false, wnd2) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") function Strong ( ) guiSetVisible ( wnd,true ) showCursor ( true ) -- اظهار الماوس end addCommandHandler ( "Teams",Strong ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then guiSetVisible(wnd2,false) showCursor(false) elseif ( source == GUIEditor.button[3] ) then guiSetVisible(wnd,false) guiSetVisible(wnd2,true) end end ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[5] ) then guiSetVisible(wnd,false) showCursor(false) end end) for _, v in ipairs (ranks) do local Row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], Row, 1, v[1], false, false) guiGridListSetItemText(GUIEditor.gridlist[1], Row, 2, v[2], false, false) end ما يظهر الجدول في القريد لست الحاجات الكتبها لأنك حاط متغيرات بالجدول و مو معرفهم عرف المتغيرات اول Discord ID : nxFairlywell#6895
Adham Posted April 2, 2016 Author Posted April 2, 2016 طيب عدلي عليه واعملهولي قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
#|_oskar_|# Posted April 2, 2016 Posted April 2, 2016 طيب عدلي عليه واعملهولي حاول تعدله بنفسك لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
Adham Posted April 2, 2016 Author Posted April 2, 2016 عدلت GUIEditor = { checkbox = {}, button = {}, gridlist = {}, edit = {}, label = {} } ------ ranks = { {'1',minutes}, {'2',mintes}, {'3',mintes}, {'5',mintes}, {'10',mintes}, {'15',mintes}, {'20',mintes}, {'30',mintes}, {'40',mintes}, {'1',hours}, {'2',hours}, {'3',hours} } -- local screenW, screenH = guiGetScreenSize() wnd = guiCreateWindow(555, 116, 241, 437, ":: Police Panel ::", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd ,false) GUIEditor.button[1] = guiCreateButton(12, 234, 219, 33, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFDCE400") GUIEditor.button[2] = guiCreateButton(12, 273, 219, 33, "UnJail Player", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0A6D00") GUIEditor.button[3] = guiCreateButton(126, 311, 109, 41, "Slap / Kil", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "D1008EB7") GUIEditor.button[4] = guiCreateButton(10, 311, 109, 41, "Destroy Car", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "D1008EB7") GUIEditor.button[5] = guiCreateButton(10, 358, 219, 33, "X", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "D1FFFFFF") GUIEditor.label[1] = guiCreateLabel(13, 395, 84, 15, "Your States :", false, wnd) GUIEditor.checkbox[1] = guiCreateCheckBox(97, 395, 66, 15, "Online", false, false, wnd) GUIEditor.checkbox[2] = guiCreateCheckBox(159, 395, 66, 15, "Busy", false, false, wnd) GUIEditor.label[2] = guiCreateLabel(13, 412, 88, 15, "Work States :", false, wnd) GUIEditor.label[3] = guiCreateLabel(91, 412, 150, 15, "غير أجباري | Not Required", false, wnd) guiSetProperty(GUIEditor.label[3], "NormalTextColour", "FFFF0000") grid = guiCreateGridList(9, 24, 222, 206, false, wnd) guiGridListAddColumn(grid, "Time", 0.9) wnd2 = guiCreateWindow(205, 211, 375, 170, "Slap Reason:", false) guiWindowSetSizable(wnd2, false) guiSetVisible(wnd2 ,false) GUIEditor.label[1] = guiCreateLabel(72, 37, 290, 19, "Enter slap reason ( this will be visble for all ):", false, wnd2) GUIEditor.edit[1] = guiCreateEdit(77, 61, 250, 29, "", false, wnd2) GUIEditor.button[1] = guiCreateButton(41, 139, 145, 21, "Ok", false, wnd2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(203, 139, 145, 21, "X", false, wnd2) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") function Strong ( ) guiSetVisible ( wnd,true ) showCursor ( true ) -- اظهار الماوس end addCommandHandler ( "Teams",Strong ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then guiSetVisible(wnd2,false) showCursor(false) elseif ( source == GUIEditor.button[3] ) then guiSetVisible(wnd,false) guiSetVisible(wnd2,true) end end ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[5] ) then guiSetVisible(wnd,false) showCursor(false) end end) for _, v in ipairs (ranks) do local Row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], Row, 1, v[1], false, false) guiGridListSetItemText(GUIEditor.gridlist[1], Row, 2, v[2], false, false) end قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
Adham Posted April 2, 2016 Author Posted April 2, 2016 طيب حلو اشتغلت ليش ما تظهر mintus? قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
#|_oskar_|# Posted April 2, 2016 Posted April 2, 2016 طيب حلو اشتغلتليش ما تظهر mintus? شوف الخطاء بالديبق وصلحه لاتعتمد على احد انه يصلح اخطائك كل مره لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
Adham Posted April 2, 2016 Author Posted April 2, 2016 الجدول طلع فيه مشكله انا عملت الجدول {"1",mintes}, بيظهر 1 ومش بيظهر mintes شالمشكله قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
a7zan Posted April 2, 2016 Posted April 2, 2016 بـ الاساس لما تسوي الكلمة بدون "" تصير زي متغير بتصير هيك {"1","mintes"},
#|_oskar_|# Posted April 2, 2016 Posted April 2, 2016 GUIEditor = { checkbox = {}, button = {}, gridlist = {}, edit = {}, label = {} } ------ ranks = { {'1','minutes'}, {'2','mintes'}, {'3','mintes'}, {'5','mintes'}, {'10','mintes'}, {'15','mintes'}, {'20','mintes'}, {'30','mintes'}, {'40','mintes'}, {'1','hours'}, {'2','hours'}, {'3','hours'} } -- local screenW, screenH = guiGetScreenSize() wnd = guiCreateWindow(555, 116, 241, 437, ":: Police Panel ::", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd ,false) GUIEditor.button[1] = guiCreateButton(12, 234, 219, 33, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFDCE400") GUIEditor.button[2] = guiCreateButton(12, 273, 219, 33, "UnJail Player", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0A6D00") GUIEditor.button[3] = guiCreateButton(126, 311, 109, 41, "Slap / Kil", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "D1008EB7") GUIEditor.button[4] = guiCreateButton(10, 311, 109, 41, "Destroy Car", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "D1008EB7") GUIEditor.button[5] = guiCreateButton(10, 358, 219, 33, "X", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "D1FFFFFF") GUIEditor.label[1] = guiCreateLabel(13, 395, 84, 15, "Your States :", false, wnd) GUIEditor.checkbox[1] = guiCreateCheckBox(97, 395, 66, 15, "Online", false, false, wnd) GUIEditor.checkbox[2] = guiCreateCheckBox(159, 395, 66, 15, "Busy", false, false, wnd) GUIEditor.label[2] = guiCreateLabel(13, 412, 88, 15, "Work States :", false, wnd) GUIEditor.label[3] = guiCreateLabel(91, 412, 150, 15, "غير أجباري | Not Required", false, wnd) guiSetProperty(GUIEditor.label[3], "NormalTextColour", "FFFF0000") grid = guiCreateGridList(9, 24, 222, 206, false, wnd) guiGridListAddColumn(grid, "ID", 0.3) guiGridListAddColumn(grid, "Time", 0.3) for _, v in ipairs (ranks) do local Row = guiGridListAddRow(grid) guiGridListSetItemText(grid, Row, 1, v[1], false, false) guiGridListSetItemText(grid, Row, 2, v[2], false, false) end wnd2 = guiCreateWindow(205, 211, 375, 170, "Slap Reason:", false) guiWindowSetSizable(wnd2, false) guiSetVisible(wnd2 ,false) GUIEditor.label[1] = guiCreateLabel(72, 37, 290, 19, "Enter slap reason ( this will be visble for all ):", false, wnd2) GUIEditor.edit[1] = guiCreateEdit(77, 61, 250, 29, "", false, wnd2) GUIEditor.button[1] = guiCreateButton(41, 139, 145, 21, "Ok", false, wnd2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(203, 139, 145, 21, "X", false, wnd2) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") function Strong ( ) guiSetVisible ( wnd,true ) showCursor ( true ) -- اظهار الماوس end addCommandHandler ( "Teams",Strong ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then guiSetVisible(wnd2,false) showCursor(false) elseif ( source == GUIEditor.button[3] ) then guiSetVisible(wnd,false) guiSetVisible(wnd2,true) end end ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[5] ) then guiSetVisible(wnd,false) showCursor(false) end end) لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
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