Dr.Marco Posted July 16, 2016 Share Posted July 16, 2016 السلام عليكم عندي مشكلة بلكلنت دد اول شي صورة لديبيق GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(67, 130, 603, 334, "{نظام مسابقات}", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.label[1] = guiCreateLabel(109, 27, 519, 21, "؛{مرحبا بكم في نظام مسابقات حصري خاص بسيرفر هجولة تايم}؛", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 49) GUIEditor.label[2] = guiCreateLabel(62, 50, 511, 15, "================================================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.label[3] = guiCreateLabel(104, 70, 512, 38, "{هدا نظام يساعدك على دخول الى مسابقة واخد شخصية خاصة بمسابقة}", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 252, 49) GUIEditor.label[4] = guiCreateLabel(77, 90, 496, 15, "===========================================================", false, GUIEditor.window[1]) ok1 = guiCreateButton(437, 114, 156, 28, "انتقال الى مجمع مسابقات", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF31FE44") ok2 = guiCreateButton(225, 115, 181, 27, "اخد شخصية خاصة بمسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF31FE44") ok3 = guiCreateButton(9, 115, 189, 26, "استفسار عن مسابقة ووقت مسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF31FE44") GUIEditor.label[5] = guiCreateLabel(104, 152, 450, 21, "=======================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") GUIEditor.gridlist[1] = guiCreateGridList(28, 166, 553, 141, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "# Rules Server", 0.9) for i = 1, 18 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "#[ يمنع تخريب بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "#[ لي يخرب بمسابقة سلابين ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "#[ عدم ظلم بنسبة لمشرفين مسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "#[ هناك رتبة خاصة لمنضمين مسابقة اسمها MonaDim]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "#[ عدم الالتزام بالقانون ومخالفتها = سحب رتبة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "#[ ================================================= ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "#[ لكي تكون مشرف بمسابقة المرجو الالتزام بهده القوانين]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "#[ تواجد]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "#[ مساعدة مشرف مسابقة]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "#[ عدم تغير شخصيات لاعبين بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 10, 1, "#[ عدم سب والشتم والقدف والاستهزام باي نوع كان ]", false, false) guiSetVisible (GUIEditor.window[1], false) end ) GUIEditor.label[6] = guiCreateLabel(91, 442, 120, 15, "@ByMarco", false) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 254, 247, 47) end ) addEventHandler('onClientGUIClick',root, function() if source == ok1 then setElementPosition ( source, -2664.45776,-3495.19702,4.96875 ) end end ) addEventHandler('onClientGUIClick',root, function() if source == ok2 then setPlayerSkin(playerSource, 23) outputChatBox("تم اعطائك شخصية الخاصة بمسابقة المرجو عدم تغيرها لتجنب المREشاكل.", playerSource) end ) addEventHandler('onClientGUIClick',root, function() if source == ok3 then executeCommandHandler ( "report" ) end end ) showCursor(false) guiSetVisible (GUIEditor.window[1], false) -- هنا اسم النافذة ووظيفة هذا الكود لما يشتغل المود ما تطلع النافذة بوجهك bindKey("F4", "down", OpenWin)-- اسم الزر الي تبيه انا حاط اف 2 بامكانك التعديل Link to comment
Me[Z]oO Posted July 16, 2016 Share Posted July 16, 2016 GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(67, 130, 603, 334, "{نظام مسابقات}", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.label[1] = guiCreateLabel(109, 27, 519, 21, "؛{مرحبا بكم في نظام مسابقات حصري خاص بسيرفر هجولة تايم}؛", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 49) GUIEditor.label[2] = guiCreateLabel(62, 50, 511, 15, "================================================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.label[3] = guiCreateLabel(104, 70, 512, 38, "{هدا نظام يساعدك على دخول الى مسابقة واخد شخصية خاصة بمسابقة}", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 252, 49) GUIEditor.label[4] = guiCreateLabel(77, 90, 496, 15, "===========================================================", false, GUIEditor.window[1]) ok1 = guiCreateButton(437, 114, 156, 28, "انتقال الى مجمع مسابقات", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF31FE44") ok2 = guiCreateButton(225, 115, 181, 27, "اخد شخصية خاصة بمسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF31FE44") ok3 = guiCreateButton(9, 115, 189, 26, "استفسار عن مسابقة ووقت مسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF31FE44") GUIEditor.label[5] = guiCreateLabel(104, 152, 450, 21, "=======================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") GUIEditor.gridlist[1] = guiCreateGridList(28, 166, 553, 141, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "# Rules Server", 0.9) for i = 1, 18 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "#[ يمنع تخريب بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "#[ لي يخرب بمسابقة سلابين ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "#[ عدم ظلم بنسبة لمشرفين مسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "#[ هناك رتبة خاصة لمنضمين مسابقة اسمها MonaDim]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "#[ عدم الالتزام بالقانون ومخالفتها = سحب رتبة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "#[ ================================================= ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "#[ لكي تكون مشرف بمسابقة المرجو الالتزام بهده القوانين]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "#[ تواجد]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "#[ مساعدة مشرف مسابقة]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "#[ عدم تغير شخصيات لاعبين بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 10, 1, "#[ عدم سب والشتم والقدف والاستهزام باي نوع كان ]", false, false) guiSetVisible (GUIEditor.window[1], false) end ) GUIEditor.label[6] = guiCreateLabel(91, 442, 120, 15, "@ByMarco", false) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 254, 247, 47) end ) addEventHandler('onClientGUIClick',root, function() if source == ok1 then setElementPosition ( localPlayer, -2664.45776,-3495.19702,4.96875 ) end end ) addEventHandler('onClientGUIClick',root, function() if source == ok2 then setElementModel(localPlayer, 23) outputChatBox("تم اعطائك شخصية الخاصة بمسابقة المرجو عدم تغيرها لتجنب المREشاكل.") end end ) addEventHandler('onClientGUIClick',root, function() if source == ok3 then executeCommandHandler ( "report" ) end end ) function OpenWin() showCursor(true) guiSetVisible (GUIEditor.window[1], true) -- هنا اسم النافذة ووظيفة هذا الكود لما يشتغل المود ما تطلع النافذة بوجهك end bindKey("F4", "down", OpenWin)-- اسم الزر الي تبيه انا حاط اف 2 بامكانك التعديل Link to comment
Dr.Marco Posted July 16, 2016 Author Share Posted July 16, 2016 GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(67, 130, 603, 334, "{نظام مسابقات}", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.label[1] = guiCreateLabel(109, 27, 519, 21, "؛{مرحبا بكم في نظام مسابقات حصري خاص بسيرفر هجولة تايم}؛", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 49) GUIEditor.label[2] = guiCreateLabel(62, 50, 511, 15, "================================================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.label[3] = guiCreateLabel(104, 70, 512, 38, "{هدا نظام يساعدك على دخول الى مسابقة واخد شخصية خاصة بمسابقة}", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 252, 49) GUIEditor.label[4] = guiCreateLabel(77, 90, 496, 15, "===========================================================", false, GUIEditor.window[1]) ok1 = guiCreateButton(437, 114, 156, 28, "انتقال الى مجمع مسابقات", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF31FE44") ok2 = guiCreateButton(225, 115, 181, 27, "اخد شخصية خاصة بمسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF31FE44") ok3 = guiCreateButton(9, 115, 189, 26, "استفسار عن مسابقة ووقت مسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF31FE44") GUIEditor.label[5] = guiCreateLabel(104, 152, 450, 21, "=======================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") GUIEditor.gridlist[1] = guiCreateGridList(28, 166, 553, 141, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "# Rules Server", 0.9) for i = 1, 18 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "#[ يمنع تخريب بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "#[ لي يخرب بمسابقة سلابين ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "#[ عدم ظلم بنسبة لمشرفين مسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "#[ هناك رتبة خاصة لمنضمين مسابقة اسمها MonaDim]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "#[ عدم الالتزام بالقانون ومخالفتها = سحب رتبة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "#[ ================================================= ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "#[ لكي تكون مشرف بمسابقة المرجو الالتزام بهده القوانين]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "#[ تواجد]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "#[ مساعدة مشرف مسابقة]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "#[ عدم تغير شخصيات لاعبين بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 10, 1, "#[ عدم سب والشتم والقدف والاستهزام باي نوع كان ]", false, false) guiSetVisible (GUIEditor.window[1], false) end ) GUIEditor.label[6] = guiCreateLabel(91, 442, 120, 15, "@ByMarco", false) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 254, 247, 47) end ) addEventHandler('onClientGUIClick',root, function() if source == ok1 then setElementPosition ( localPlayer, -2664.45776,-3495.19702,4.96875 ) end end ) addEventHandler('onClientGUIClick',root, function() if source == ok2 then setElementModel(localPlayer, 23) outputChatBox("تم اعطائك شخصية الخاصة بمسابقة المرجو عدم تغيرها لتجنب المREشاكل.") end end ) addEventHandler('onClientGUIClick',root, function() if source == ok3 then executeCommandHandler ( "report" ) end end ) function OpenWin() showCursor(true) guiSetVisible (GUIEditor.window[1], true) -- هنا اسم النافذة ووظيفة هذا الكود لما يشتغل المود ما تطلع النافذة بوجهك end bindKey("F4", "down", OpenWin)-- اسم الزر الي تبيه انا حاط اف 2 بامكانك التعديل نفس مشكلة Link to comment
Dr.Marco Posted July 16, 2016 Author Share Posted July 16, 2016 GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(67, 130, 603, 334, "{نظام مسابقات}", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.label[1] = guiCreateLabel(109, 27, 519, 21, "؛{مرحبا بكم في نظام مسابقات حصري خاص بسيرفر هجولة تايم}؛", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 49) GUIEditor.label[2] = guiCreateLabel(62, 50, 511, 15, "================================================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.label[3] = guiCreateLabel(104, 70, 512, 38, "{هدا نظام يساعدك على دخول الى مسابقة واخد شخصية خاصة بمسابقة}", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 252, 49) GUIEditor.label[4] = guiCreateLabel(77, 90, 496, 15, "===========================================================", false, GUIEditor.window[1]) ok1 = guiCreateButton(437, 114, 156, 28, "انتقال الى مجمع مسابقات", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF31FE44") ok2 = guiCreateButton(225, 115, 181, 27, "اخد شخصية خاصة بمسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF31FE44") ok3 = guiCreateButton(9, 115, 189, 26, "استفسار عن مسابقة ووقت مسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF31FE44") GUIEditor.label[5] = guiCreateLabel(104, 152, 450, 21, "=======================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") GUIEditor.gridlist[1] = guiCreateGridList(28, 166, 553, 141, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "# Rules Server", 0.9) for i = 1, 18 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "#[ يمنع تخريب بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "#[ لي يخرب بمسابقة سلابين ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "#[ عدم ظلم بنسبة لمشرفين مسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "#[ هناك رتبة خاصة لمنضمين مسابقة اسمها MonaDim]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "#[ عدم الالتزام بالقانون ومخالفتها = سحب رتبة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "#[ ================================================= ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "#[ لكي تكون مشرف بمسابقة المرجو الالتزام بهده القوانين]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "#[ تواجد]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "#[ مساعدة مشرف مسابقة]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "#[ عدم تغير شخصيات لاعبين بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 10, 1, "#[ عدم سب والشتم والقدف والاستهزام باي نوع كان ]", false, false) guiSetVisible (GUIEditor.window[1], false) end ) GUIEditor.label[6] = guiCreateLabel(91, 442, 120, 15, "@ByMarco", false) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 254, 247, 47) end ) addEventHandler('onClientGUIClick',root, function() if source == ok1 then setElementPosition ( localPlayer, -2664.45776,-3495.19702,4.96875 ) end end ) addEventHandler('onClientGUIClick',root, function() if source == ok2 then setElementModel(localPlayer, 23) outputChatBox("تم اعطائك شخصية الخاصة بمسابقة المرجو عدم تغيرها لتجنب المREشاكل.") end end ) addEventHandler('onClientGUIClick',root, function() if source == ok3 then executeCommandHandler ( "report" ) end end ) function OpenWin() showCursor(true) guiSetVisible (GUIEditor.window[1], true) -- هنا اسم النافذة ووظيفة هذا الكود لما يشتغل المود ما تطلع النافذة بوجهك end bindKey("F4", "down", OpenWin)-- اسم الزر الي تبيه انا حاط اف 2 بامكانك التعديل نفس مشكلة Link to comment
a7zan Posted July 16, 2016 Share Posted July 16, 2016 GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(67, 130, 603, 334, "{نظام مسابقات}", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.label[1] = guiCreateLabel(109, 27, 519, 21, "؛{مرحبا بكم في نظام مسابقات حصري خاص بسيرفر هجولة تايم}؛", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 49) GUIEditor.label[2] = guiCreateLabel(62, 50, 511, 15, "================================================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.label[3] = guiCreateLabel(104, 70, 512, 38, "{هدا نظام يساعدك على دخول الى مسابقة واخد شخصية خاصة بمسابقة}", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 252, 49) GUIEditor.label[4] = guiCreateLabel(77, 90, 496, 15, "===========================================================", false, GUIEditor.window[1]) ok1 = guiCreateButton(437, 114, 156, 28, "انتقال الى مجمع مسابقات", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF31FE44") ok2 = guiCreateButton(225, 115, 181, 27, "اخد شخصية خاصة بمسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF31FE44") ok3 = guiCreateButton(9, 115, 189, 26, "استفسار عن مسابقة ووقت مسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF31FE44") GUIEditor.label[5] = guiCreateLabel(104, 152, 450, 21, "=======================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") GUIEditor.gridlist[1] = guiCreateGridList(28, 166, 553, 141, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "# Rules Server", 0.9) for i = 1, 18 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "#[ يمنع تخريب بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "#[ لي يخرب بمسابقة سلابين ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "#[ عدم ظلم بنسبة لمشرفين مسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "#[ هناك رتبة خاصة لمنضمين مسابقة اسمها MonaDim]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "#[ عدم الالتزام بالقانون ومخالفتها = سحب رتبة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "#[ ================================================= ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "#[ لكي تكون مشرف بمسابقة المرجو الالتزام بهده القوانين]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "#[ تواجد]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "#[ مساعدة مشرف مسابقة]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "#[ عدم تغير شخصيات لاعبين بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 10, 1, "#[ عدم سب والشتم والقدف والاستهزام باي نوع كان ]", false, false) guiSetVisible (GUIEditor.window[1], false) ) GUIEditor.label[6] = guiCreateLabel(91, 442, 120, 15, "@ByMarco", false) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 254, 247, 47) end ) addEventHandler('onClientGUIClick',root, function() if source == ok1 then setElementPosition ( source, -2664.45776,-3495.19702,4.96875 ) end end ) addEventHandler('onClientGUIClick',root, function() if source == ok2 then setPlayerSkin(playerSource, 23) outputChatBox("تم اعطائك شخصية الخاصة بمسابقة المرجو عدم تغيرها لتجنب المREشاكل.", playerSource) end ) addEventHandler('onClientGUIClick',root, function() if source == ok3 then executeCommandHandler ( "report" ) end end ) showCursor(false) guiSetVisible (GUIEditor.window[1], false) -- هنا اسم النافذة ووظيفة هذا الكود لما يشتغل المود ما تطلع النافذة بوجهك bindKey("F4", "down", OpenWin)-- اسم الزر الي تبيه انا حاط اف 2 بامكانك التعديل Link to comment
Dr.Marco Posted July 16, 2016 Author Share Posted July 16, 2016 GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(67, 130, 603, 334, "{نظام مسابقات}", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.label[1] = guiCreateLabel(109, 27, 519, 21, "؛{مرحبا بكم في نظام مسابقات حصري خاص بسيرفر هجولة تايم}؛", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 49) GUIEditor.label[2] = guiCreateLabel(62, 50, 511, 15, "================================================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.label[3] = guiCreateLabel(104, 70, 512, 38, "{هدا نظام يساعدك على دخول الى مسابقة واخد شخصية خاصة بمسابقة}", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 252, 49) GUIEditor.label[4] = guiCreateLabel(77, 90, 496, 15, "===========================================================", false, GUIEditor.window[1]) ok1 = guiCreateButton(437, 114, 156, 28, "انتقال الى مجمع مسابقات", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF31FE44") ok2 = guiCreateButton(225, 115, 181, 27, "اخد شخصية خاصة بمسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF31FE44") ok3 = guiCreateButton(9, 115, 189, 26, "استفسار عن مسابقة ووقت مسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF31FE44") GUIEditor.label[5] = guiCreateLabel(104, 152, 450, 21, "=======================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") GUIEditor.gridlist[1] = guiCreateGridList(28, 166, 553, 141, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "# Rules Server", 0.9) for i = 1, 18 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "#[ يمنع تخريب بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "#[ لي يخرب بمسابقة سلابين ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "#[ عدم ظلم بنسبة لمشرفين مسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "#[ هناك رتبة خاصة لمنضمين مسابقة اسمها MonaDim]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "#[ عدم الالتزام بالقانون ومخالفتها = سحب رتبة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "#[ ================================================= ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "#[ لكي تكون مشرف بمسابقة المرجو الالتزام بهده القوانين]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "#[ تواجد]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "#[ مساعدة مشرف مسابقة]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "#[ عدم تغير شخصيات لاعبين بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 10, 1, "#[ عدم سب والشتم والقدف والاستهزام باي نوع كان ]", false, false) guiSetVisible (GUIEditor.window[1], false) ) GUIEditor.label[6] = guiCreateLabel(91, 442, 120, 15, "@ByMarco", false) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 254, 247, 47) end ) addEventHandler('onClientGUIClick',root, function() if source == ok1 then setElementPosition ( source, -2664.45776,-3495.19702,4.96875 ) end end ) addEventHandler('onClientGUIClick',root, function() if source == ok2 then setPlayerSkin(playerSource, 23) outputChatBox("تم اعطائك شخصية الخاصة بمسابقة المرجو عدم تغيرها لتجنب المREشاكل.", playerSource) end ) addEventHandler('onClientGUIClick',root, function() if source == ok3 then executeCommandHandler ( "report" ) end end ) showCursor(false) guiSetVisible (GUIEditor.window[1], false) -- هنا اسم النافذة ووظيفة هذا الكود لما يشتغل المود ما تطلع النافذة بوجهك bindKey("F4", "down", OpenWin)-- اسم الزر الي تبيه انا حاط اف 2 بامكانك التعديل ماعادت تظهر مشكلة بديبيق بس مشكلة مود يظهر فيه ليبل واحد وهو @Dr.Marco Link to comment
Mostafa MohammeD Posted July 16, 2016 Share Posted July 16, 2016 GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(67, 130, 603, 334, "{نظام مسابقات}", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1],false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.label[1] = guiCreateLabel(109, 27, 519, 21, "؛{مرحبا بكم في نظام مسابقات حصري خاص بسيرفر هجولة تايم}؛", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 49) GUIEditor.label[2] = guiCreateLabel(62, 50, 511, 15, "================================================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.label[3] = guiCreateLabel(104, 70, 512, 38, "{هدا نظام يساعدك على دخول الى مسابقة واخد شخصية خاصة بمسابقة}", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 252, 49) GUIEditor.label[4] = guiCreateLabel(77, 90, 496, 15, "===========================================================", false, GUIEditor.window[1]) ok1 = guiCreateButton(437, 114, 156, 28, "انتقال الى مجمع مسابقات", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF31FE44") ok2 = guiCreateButton(225, 115, 181, 27, "اخد شخصية خاصة بمسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF31FE44") ok3 = guiCreateButton(9, 115, 189, 26, "استفسار عن مسابقة ووقت مسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF31FE44") GUIEditor.label[5] = guiCreateLabel(104, 152, 450, 21, "=======================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") GUIEditor.gridlist[1] = guiCreateGridList(28, 166, 553, 141, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "# Rules Server", 0.9) guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "#[ يمنع تخريب بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "#[ لي يخرب بمسابقة سلابين ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "#[ عدم ظلم بنسبة لمشرفين مسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "#[ هناك رتبة خاصة لمنضمين مسابقة اسمها MonaDim]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "#[ عدم الالتزام بالقانون ومخالفتها = سحب رتبة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "#[ ================================================= ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "#[ لكي تكون مشرف بمسابقة المرجو الالتزام بهده القوانين]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "#[ تواجد]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "#[ مساعدة مشرف مسابقة]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "#[ عدم تغير شخصيات لاعبين بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 10, 1, "#[ عدم سب والشتم والقدف والاستهزام باي نوع كان ]", false, false) GUIEditor.label[6] = guiCreateLabel(91, 442, 120, 15, "@ByMarco", false) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 254, 247, 47) addEventHandler('onClientGUIClick',root, function() if source == ok1 then setElementPosition ( source, -2664.45776,-3495.19702,4.96875 ) end end ) addEventHandler('onClientGUIClick',root, function() if source == ok2 then setPlayerSkin(source, 23) outputChatBox("تم اعطائك شخصية الخاصة بمسابقة المرجو عدم تغيرها لتجنب المREشاكل.", playerSource) end end ) addEventHandler('onClientGUIClick',root, function() if source == ok3 then executeCommandHandler ( "report" ) end end ) function OpenWin() guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1]) showCursor(guiGetVisible(GUIEditor.window[1]) bindKey("F4", "down", OpenWin)-- اسم الزر الي تبيه انا حاط اف 2 بامكانك التعديل تم التعديل علي الكود القديم** Link to comment
Dr.Marco Posted July 16, 2016 Author Share Posted July 16, 2016 GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(67, 130, 603, 334, "{نظام مسابقات}", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1],false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.label[1] = guiCreateLabel(109, 27, 519, 21, "؛{مرحبا بكم في نظام مسابقات حصري خاص بسيرفر هجولة تايم}؛", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 49) GUIEditor.label[2] = guiCreateLabel(62, 50, 511, 15, "================================================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.label[3] = guiCreateLabel(104, 70, 512, 38, "{هدا نظام يساعدك على دخول الى مسابقة واخد شخصية خاصة بمسابقة}", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 252, 49) GUIEditor.label[4] = guiCreateLabel(77, 90, 496, 15, "===========================================================", false, GUIEditor.window[1]) ok1 = guiCreateButton(437, 114, 156, 28, "انتقال الى مجمع مسابقات", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF31FE44") ok2 = guiCreateButton(225, 115, 181, 27, "اخد شخصية خاصة بمسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF31FE44") ok3 = guiCreateButton(9, 115, 189, 26, "استفسار عن مسابقة ووقت مسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF31FE44") GUIEditor.label[5] = guiCreateLabel(104, 152, 450, 21, "=======================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") GUIEditor.gridlist[1] = guiCreateGridList(28, 166, 553, 141, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "# Rules Server", 0.9) guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "#[ يمنع تخريب بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "#[ لي يخرب بمسابقة سلابين ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "#[ عدم ظلم بنسبة لمشرفين مسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "#[ هناك رتبة خاصة لمنضمين مسابقة اسمها MonaDim]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "#[ عدم الالتزام بالقانون ومخالفتها = سحب رتبة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "#[ ================================================= ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "#[ لكي تكون مشرف بمسابقة المرجو الالتزام بهده القوانين]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "#[ تواجد]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "#[ مساعدة مشرف مسابقة]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "#[ عدم تغير شخصيات لاعبين بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 10, 1, "#[ عدم سب والشتم والقدف والاستهزام باي نوع كان ]", false, false) GUIEditor.label[6] = guiCreateLabel(91, 442, 120, 15, "@ByMarco", false) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 254, 247, 47) addEventHandler('onClientGUIClick',root, function() if source == ok1 then setElementPosition ( source, -2664.45776,-3495.19702,4.96875 ) end end ) addEventHandler('onClientGUIClick',root, function() if source == ok2 then setPlayerSkin(source, 23) outputChatBox("تم اعطائك شخصية الخاصة بمسابقة المرجو عدم تغيرها لتجنب المREشاكل.", playerSource) end end ) addEventHandler('onClientGUIClick',root, function() if source == ok3 then executeCommandHandler ( "report" ) end end ) function OpenWin() guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1]) showCursor(guiGetVisible(GUIEditor.window[1]) bindKey("F4", "down", OpenWin)-- اسم الزر الي تبيه انا حاط اف 2 بامكانك التعديل تم التعديل علي الكود القديم** نفس غلط Link to comment
Dr.Marco Posted July 16, 2016 Author Share Posted July 16, 2016 شبااب المرجو قبل الوضع التاكد Link to comment
Ahmed Ly Posted July 16, 2016 Share Posted July 16, 2016 (edited) GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(67, 130, 603, 334, "{نظام مسابقات}", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.label[1] = guiCreateLabel(109, 27, 519, 21, "؛{مرحبا بكم في نظام مسابقات حصري خاص بسيرفر هجولة تايم}؛", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 49) GUIEditor.label[2] = guiCreateLabel(62, 50, 511, 15, "================================================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.label[3] = guiCreateLabel(104, 70, 512, 38, "{هدا نظام يساعدك على دخول الى مسابقة واخد شخصية خاصة بمسابقة}", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 252, 49) GUIEditor.label[4] = guiCreateLabel(77, 90, 496, 15, "===========================================================", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(437, 114, 156, 28, "انتقال الى مجمع مسابقات", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF31FE44") GUIEditor.button[2] = guiCreateButton(225, 115, 181, 27, "اخد شخصية خاصة بمسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF31FE44") GUIEditor.button[3] = guiCreateButton(9, 115, 189, 26, "استفسار عن مسابقة ووقت مسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF31FE44") GUIEditor.label[5] = guiCreateLabel(104, 152, 450, 21, "=======================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") GUIEditor.gridlist[1] = guiCreateGridList(28, 166, 553, 141, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "# Rules Server", 0.9) for i = 1, 18 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "#[ يمنع تخريب بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "#[ لي يخرب بمسابقة سلابين ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "#[ عدم ظلم بنسبة لمشرفين مسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "#[ هناك رتبة خاصة لمنضمين مسابقة اسمها MonaDim]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "#[ عدم الالتزام بالقانون ومخالفتها = سحب رتبة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "#[ ================================================= ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "#[ لكي تكون مشرف بمسابقة المرجو الالتزام بهده القوانين]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "#[ تواجد]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "#[ مساعدة مشرف مسابقة]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "#[ عدم تغير شخصيات لاعبين بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 10, 1, "#[ عدم سب والشتم والقدف والاستهزام باي نوع كان ]", false, false) GUIEditor.label[6] = guiCreateLabel(91, 442, 120, 15, "@ByMarco", false) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 254, 247, 47) guiSetVisible (GUIEditor.window[1], false) guiSetVisible (GUIEditor.label[6] , false) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) guiSetVisible (GUIEditor.label[6] , true) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) guiSetVisible (GUIEditor.window[1], true) guiSetVisible (GUIEditor.label[6] , true) end end bindKey("F2", "down", OpenWin) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[1] then setElementPosition (localPlayer, -2664.45776,-3495.19702,4.96875 ) end end ) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[2] then setPlayerSkin(localPlayer, 23) outputChatBox("تم اعطائك شخصية الخاصة بمسابقة المرجو عدم تغيرها لتجنب المREشاكل.", localPlayer,0,255,0) end end ) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[3] then executeCommandHandler ( "report" ) end end ) Edited July 16, 2016 by Guest Link to comment
a7zan Posted July 16, 2016 Share Posted July 16, 2016 (edited) . Edited July 16, 2016 by Guest Link to comment
Ahmed Ly Posted July 16, 2016 Share Posted July 16, 2016 GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(67, 130, 603, 334, "{نظام مسابقات}", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.label[1] = guiCreateLabel(109, 27, 519, 21, "؛{مرحبا بكم في نظام مسابقات حصري خاص بسيرفر هجولة تايم}؛", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 49) GUIEditor.label[2] = guiCreateLabel(62, 50, 511, 15, "================================================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.label[3] = guiCreateLabel(104, 70, 512, 38, "{هدا نظام يساعدك على دخول الى مسابقة واخد شخصية خاصة بمسابقة}", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 252, 49) GUIEditor.label[4] = guiCreateLabel(77, 90, 496, 15, "===========================================================", false, GUIEditor.window[1]) ok1 = guiCreateButton(437, 114, 156, 28, "انتقال الى مجمع مسابقات", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF31FE44") ok2 = guiCreateButton(225, 115, 181, 27, "اخد شخصية خاصة بمسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF31FE44") ok3 = guiCreateButton(9, 115, 189, 26, "استفسار عن مسابقة ووقت مسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF31FE44") GUIEditor.label[5] = guiCreateLabel(104, 152, 450, 21, "=======================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") GUIEditor.gridlist[1] = guiCreateGridList(28, 166, 553, 141, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "# Rules Server", 0.9) for i = 1, 18 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "#[ يمنع تخريب بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "#[ لي يخرب بمسابقة سلابين ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "#[ عدم ظلم بنسبة لمشرفين مسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "#[ هناك رتبة خاصة لمنضمين مسابقة اسمها MonaDim]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "#[ عدم الالتزام بالقانون ومخالفتها = سحب رتبة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "#[ ================================================= ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "#[ لكي تكون مشرف بمسابقة المرجو الالتزام بهده القوانين]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "#[ تواجد]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "#[ مساعدة مشرف مسابقة]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "#[ عدم تغير شخصيات لاعبين بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 10, 1, "#[ عدم سب والشتم والقدف والاستهزام باي نوع كان ]", false, false) guiSetVisible (GUIEditor.window[1], false) GUIEditor.label[6] = guiCreateLabel(91, 442, 120, 15, "@ByMarco", false) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 254, 247, 47) addEventHandler('onClientGUIClick',root, function() if source == ok1 then setElementPosition ( source, -2664.45776,-3495.19702,4.96875 ) end end ) addEventHandler('onClientGUIClick',root, function() if source == ok2 then setPlayerSkin(playerSource, 23) outputChatBox("تم اعطائك شخصية الخاصة بمسابقة المرجو عدم تغيرها لتجنب المREشاكل.", playerSource) end end ) addEventHandler('onClientGUIClick',root, function() if source == ok3 then executeCommandHandler ( "report" ) end end ) function OpenWin() local isState = not ( guiGetVisible ( GUIEditor.window[1] ) ) showCursor(isState) guiSetVisible (GUIEditor.window[1], isState) bindKey("F4", "down", OpenWin) شوف سطر 23 24 و 26 27 و 29 30 - 52 Link to comment
a7zan Posted July 16, 2016 Share Posted July 16, 2016 مشكور عتصحيح ^ -- + setPlayerSkin This function is deprecated. This means that its use is discouraged and that it might not exist in future versions, but there should be a more generic way to perform what it does. يعني ما راح يكون في الاصدارات المستقبلية فـ استعمل setElementModel Link to comment
Dr.Marco Posted July 16, 2016 Author Share Posted July 16, 2016 شكرا لكروز احمد احزان حليت مشكلة يغلق == Link to comment
Mostafa MohammeD Posted July 19, 2016 Share Posted July 19, 2016 شكرالكروز احمد احزان حليت مشكلة يغلق == العفو حياأك 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