Wleed1998 Posted August 4, 2016 Share Posted August 4, 2016 GUIEditor = { label = {}, checkbox = {}, edit = {}, staticimage = {}, } GUIEditor.staticimage[1] = guiCreateStaticImage(344, 219, 670, 342, ":guieditor/images/dot_white.png", false) guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:483B0000 tr:483B0000 bl:483B0000 br:483B0000") guiSetVisible ( GUIEditor.staticimage[1], false ) GUIEditor.edit[1] = guiCreateEdit(10, 63, 243, 41, "", false, GUIEditor.staticimage[1]) GUIEditor.edit[2] = guiCreateEdit(10, 137, 243, 41, "", false, GUIEditor.staticimage[1]) GUIEditor.label[1] = guiCreateLabel(10, 38, 238, 25, "آسسم الحســآب", false, GUIEditor.staticimage[1]) local font_0 = guiCreateFont(":send-flos/mhmed12.ttf") guiSetFont(GUIEditor.label[1], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[1], "center") GUIEditor.label[2] = guiCreateLabel(15, 108, 238, 25, "كــلــمة آلســـر", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[2], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[2], "center") GUIEditor.checkbox[1] = guiCreateCheckBox(35, 188, 208, 33, "حفظ آلمعلومآت", false, false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.checkbox[1], font_0) guiSetProperty(GUIEditor.checkbox[1], "NormalTextColour", "F5D70101") GUIEditor.edit[3] = guiCreateEdit(400, 63, 243, 41, "", false, GUIEditor.staticimage[1]) GUIEditor.edit[4] = guiCreateEdit(400, 137, 243, 41, "", false, GUIEditor.staticimage[1]) GUIEditor.label[3] = guiCreateLabel(405, 38, 238, 25, "آسسم الحســآب", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[3], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[3], "center") GUIEditor.label[4] = guiCreateLabel(405, 114, 238, 25, "كــلــمة آلســـر", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[4], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[4], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[4], "center") GUIEditor.staticimage[4] = guiCreateStaticImage(410, 237, 237, 50, ":guieditor/images/dot_white.png", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.staticimage[4], "ImageColours", "tl:9EFF7B7B tr:9EFF7B7B bl:9EFF7B7B br:9EFF7B7B") GUIEditor.label[5] = guiCreateLabel(1, 3, 232, 44, "تـــســـجـــيـــل", false, GUIEditor.staticimage[4]) guiSetAlpha(GUIEditor.label[5], 0.50) guiSetFont(GUIEditor.label[5], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[5], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[5], "center") GUIEditor.staticimage[5] = guiCreateStaticImage(10, 238, 237, 50, ":guieditor/images/dot_white.png", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.staticimage[5], "ImageColours", "tl:9EFF7B7B tr:9EFF7B7B bl:9EFF7B7B br:9EFF7B7B") GUIEditor.label[6] = guiCreateLabel(3, 2, 232, 45, "تـــســـجـــيــل دخـــول", false, GUIEditor.staticimage[5]) guiSetAlpha(GUIEditor.label[6], 0.50) guiSetFont(GUIEditor.label[6], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[6], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[6], "center") GUIEditor.staticimage[6] = guiCreateStaticImage(326, 188, 711, 31, ":guieditor/images/dot_white.png", false) guiSetProperty(GUIEditor.staticimage[6], "ImageColours", "tl:9EFF7B7B tr:9EFF7B7B bl:9EFF7B7B br:9EFF7B7B") guiSetVisible ( GUIEditor.staticimage[6], false ) GUIEditor.label[7] = guiCreateLabel(2, 5, 709, 25, "لــــوحـــــــة تــــســـجـــيـــل دخـــول", false, GUIEditor.staticimage[6]) guiSetFont(GUIEditor.label[7], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[7], "center", true) guiLabelSetVerticalAlign(GUIEditor.label[7], "center") guiSetAlpha ( GUIEditor.staticimage[4], 0.5 ) guiSetAlpha ( GUIEditor.staticimage[5], 0.5 ) addEventHandler( 'onClientMouseEnter', root, function() if source == GUIEditor.staticimage[4] then guiSetAlpha ( GUIEditor.staticimage[4], 1.0 ) elseif source == GUIEditor.staticimage[5] then guiSetAlpha ( GUIEditor.staticimage[5], 1.0 ) end end ) addEventHandler( 'onClientMouseLeave', root, function() if source ~= GUIEditor.staticimage[4] then guiSetAlpha ( GUIEditor.staticimage[4], 0.5 ) elseif source ~= GUIEditor.staticimage[5] then guiSetAlpha ( GUIEditor.staticimage[5], 0.5 ) end end addEventHandler( 'onClientGUIClick', root, function () if ( source == GUIEditor.staticimage[5] ) then if ( guiGetText ( GUIEditor.edit[1] ) ~= "" and guiGetText ( GUIEditor.edit[1] ) ~= " " ) then if ( guiGetText ( GUIEditor.edit[2] ) ~= "" and guiGetText ( GUIEditor.edit[2] ) ~= " " ) then if ( string.len ( guiGetText ( GUIEditor.edit[1] ) ) >= 3 ) then if ( string.len ( guiGetText ( GUIEditor.edit[2] ) ) >= 4 ) then if ( guiCheckBoxGetSelected ( GUIEditor.checkbox[1] ) ) then remeber = true else remeber = false end if ( guiCheckBoxGetSelected ( GUIEditor.checkbox[2] ) ) then destroyElement ( sound ) end triggerServerEvent("onRegister", localPlayer, guiGetText ( GUIEditor.edit[1] ), guiGetText ( GUIEditor.edit[2] ), remeber) else outputChatBox("* Password should be at least 4 characters long !", 255, 0, 0, true, 5) end else outputChatBox("* Username should be at least 3 characters long !", 255, 0, 0, true) end else outputChatBox("* Please Write Password !", 255, 0, 0, true) end else outputChatBox("* Please Write Username !", 255, 0, 0, true) end elseif ( source == GUIEditor.staticimage[4] ) then if ( guiGetText ( GUIEditor.edit[3] ) ~= "" and guiGetText ( GUIEditor.edit[3] ) ~= " " ) then if ( guiGetText ( GUIEditor.edit[4] ) ~= "" and guiGetText ( GUIEditor.edit[4] ) ~= " " ) then if ( guiCheckBoxGetSelected ( GUIEditor.checkbox[1] ) ) then remeber = true else remeber = false end if ( guiCheckBoxGetSelected ( GUIEditor.checkbox[2] ) ) then if ( isElement ( sound ) ) then destroyElement ( sound ) end end triggerServerEvent("onLogin", localPlayer, guiGetText ( GUIEditor.edit[1] ), guiGetText ( GUIEditor.edit[2] ), remeber) else outputChatBox("* Please Write Password !", 255, 0, 0, true) end else outputChatBox("* Please Write Username !", 255, 0, 0, true) end end end ) addEvent("onClose",true) addEventHandler("onClose",root, function () guiSetVisible(GUIEditor.staticimage[1],false) guiSetVisible(GUIEditor.staticimage[6],false) showCursor(false) guiSetInputEnabled(false) Show() end ) وش الاخطاء مايجي ع الزر لما اجي ع الصوره بي الماوس مايصير شففيته كامله ض1 تظل 50 زي ما هي + مايسجل ليه Link to comment
[DONE]* Posted August 4, 2016 Share Posted August 4, 2016 ضيف المود لقروب الأدمن GUIEditor = { label = {}, checkbox = {}, edit = {}, staticimage = {}, } GUIEditor.staticimage[1] = guiCreateStaticImage(344, 219, 670, 342, ":guieditor/images/dot_white.png", false) guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:483B0000 tr:483B0000 bl:483B0000 br:483B0000") guiSetVisible ( GUIEditor.staticimage[1], false ) GUIEditor.edit[1] = guiCreateEdit(10, 63, 243, 41, "", false, GUIEditor.staticimage[1]) GUIEditor.edit[2] = guiCreateEdit(10, 137, 243, 41, "", false, GUIEditor.staticimage[1]) GUIEditor.label[1] = guiCreateLabel(10, 38, 238, 25, "آسسم الحســآب", false, GUIEditor.staticimage[1]) local font_0 = guiCreateFont(":send-flos/mhmed12.ttf") guiSetFont(GUIEditor.label[1], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[1], "center") GUIEditor.label[2] = guiCreateLabel(15, 108, 238, 25, "كــلــمة آلســـر", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[2], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[2], "center") GUIEditor.checkbox[1] = guiCreateCheckBox(35, 188, 208, 33, "حفظ آلمعلومآت", false, false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.checkbox[1], font_0) guiSetProperty(GUIEditor.checkbox[1], "NormalTextColour", "F5D70101") GUIEditor.edit[3] = guiCreateEdit(400, 63, 243, 41, "", false, GUIEditor.staticimage[1]) GUIEditor.edit[4] = guiCreateEdit(400, 137, 243, 41, "", false, GUIEditor.staticimage[1]) GUIEditor.label[3] = guiCreateLabel(405, 38, 238, 25, "آسسم الحســآب", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[3], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[3], "center") GUIEditor.label[4] = guiCreateLabel(405, 114, 238, 25, "كــلــمة آلســـر", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[4], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[4], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[4], "center") GUIEditor.staticimage[4] = guiCreateStaticImage(410, 237, 237, 50, ":guieditor/images/dot_white.png", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.staticimage[4], "ImageColours", "tl:9EFF7B7B tr:9EFF7B7B bl:9EFF7B7B br:9EFF7B7B") GUIEditor.label[5] = guiCreateLabel(1, 3, 232, 44, "تـــســـجـــيـــل", false, GUIEditor.staticimage[4]) guiSetAlpha(GUIEditor.label[5], 0.50) guiSetFont(GUIEditor.label[5], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[5], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[5], "center") GUIEditor.staticimage[5] = guiCreateStaticImage(10, 238, 237, 50, ":guieditor/images/dot_white.png", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.staticimage[5], "ImageColours", "tl:9EFF7B7B tr:9EFF7B7B bl:9EFF7B7B br:9EFF7B7B") GUIEditor.label[6] = guiCreateLabel(3, 2, 232, 45, "تـــســـجـــيــل دخـــول", false, GUIEditor.staticimage[5]) guiSetAlpha(GUIEditor.label[6], 0.50) guiSetFont(GUIEditor.label[6], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[6], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[6], "center") GUIEditor.staticimage[6] = guiCreateStaticImage(326, 188, 711, 31, ":guieditor/images/dot_white.png", false) guiSetProperty(GUIEditor.staticimage[6], "ImageColours", "tl:9EFF7B7B tr:9EFF7B7B bl:9EFF7B7B br:9EFF7B7B") guiSetVisible ( GUIEditor.staticimage[6], false ) GUIEditor.label[7] = guiCreateLabel(2, 5, 709, 25, "لــــوحـــــــة تــــســـجـــيـــل دخـــول", false, GUIEditor.staticimage[6]) guiSetFont(GUIEditor.label[7], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[7], "center", true) guiLabelSetVerticalAlign(GUIEditor.label[7], "center") guiSetAlpha ( GUIEditor.staticimage[4], 0.5 ) guiSetAlpha ( GUIEditor.staticimage[5], 0.5 ) addEventHandler( 'onClientMouseEnter', root, function() if source == GUIEditor.staticimage[4] then guiSetAlpha ( GUIEditor.staticimage[4], 1.0 ) elseif source == GUIEditor.staticimage[5] then guiSetAlpha ( GUIEditor.staticimage[5], 1.0 ) end end ) addEventHandler( 'onClientMouseLeave', root, function() if source == GUIEditor.staticimage[4] then guiSetAlpha ( GUIEditor.staticimage[4], 0.5 ) elseif source == GUIEditor.staticimage[5] then guiSetAlpha ( GUIEditor.staticimage[5], 0.5 ) end end addEventHandler( 'onClientGUIClick', root, function () if ( source == GUIEditor.staticimage[5] ) then if ( guiGetText ( GUIEditor.edit[1] ) ~= "" and guiGetText ( GUIEditor.edit[1] ) ~= " " ) then if ( guiGetText ( GUIEditor.edit[2] ) ~= "" and guiGetText ( GUIEditor.edit[2] ) ~= " " ) then if ( string.len ( guiGetText ( GUIEditor.edit[1] ) ) >= 3 ) then if ( string.len ( guiGetText ( GUIEditor.edit[2] ) ) >= 4 ) then if ( guiCheckBoxGetSelected ( GUIEditor.checkbox[1] ) ) then remeber = true else remeber = false end if ( guiCheckBoxGetSelected ( GUIEditor.checkbox[2] ) ) then destroyElement ( sound ) end triggerServerEvent("onRegister", localPlayer, guiGetText ( GUIEditor.edit[1] ), guiGetText ( GUIEditor.edit[2] ), remeber) else outputChatBox("* Password should be at least 4 characters long !", 255, 0, 0, true, 5) end else outputChatBox("* Username should be at least 3 characters long !", 255, 0, 0, true) end else outputChatBox("* Please Write Password !", 255, 0, 0, true) end else outputChatBox("* Please Write Username !", 255, 0, 0, true) end elseif ( source == GUIEditor.staticimage[4] ) then if ( guiGetText ( GUIEditor.edit[3] ) ~= "" and guiGetText ( GUIEditor.edit[3] ) ~= " " ) then if ( guiGetText ( GUIEditor.edit[4] ) ~= "" and guiGetText ( GUIEditor.edit[4] ) ~= " " ) then if ( guiCheckBoxGetSelected ( GUIEditor.checkbox[1] ) ) then remeber = true else remeber = false end if ( guiCheckBoxGetSelected ( GUIEditor.checkbox[2] ) ) then if ( isElement ( sound ) ) then destroyElement ( sound ) end end triggerServerEvent("onLogin", localPlayer, guiGetText ( GUIEditor.edit[1] ), guiGetText ( GUIEditor.edit[2] ), remeber) else outputChatBox("* Please Write Password !", 255, 0, 0, true) end else outputChatBox("* Please Write Username !", 255, 0, 0, true) end end end ) addEvent("onClose",true) addEventHandler("onClose",root, function () guiSetVisible(GUIEditor.staticimage[1],false) guiSetVisible(GUIEditor.staticimage[6],false) showCursor(false) guiSetInputEnabled(false) Show() end ) Link to comment
Wleed1998 Posted August 4, 2016 Author Share Posted August 4, 2016 ضيف المود لقروب الأدمن GUIEditor = { label = {}, checkbox = {}, edit = {}, staticimage = {}, } GUIEditor.staticimage[1] = guiCreateStaticImage(344, 219, 670, 342, ":guieditor/images/dot_white.png", false) guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:483B0000 tr:483B0000 bl:483B0000 br:483B0000") guiSetVisible ( GUIEditor.staticimage[1], false ) GUIEditor.edit[1] = guiCreateEdit(10, 63, 243, 41, "", false, GUIEditor.staticimage[1]) GUIEditor.edit[2] = guiCreateEdit(10, 137, 243, 41, "", false, GUIEditor.staticimage[1]) GUIEditor.label[1] = guiCreateLabel(10, 38, 238, 25, "آسسم الحســآب", false, GUIEditor.staticimage[1]) local font_0 = guiCreateFont(":send-flos/mhmed12.ttf") guiSetFont(GUIEditor.label[1], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[1], "center") GUIEditor.label[2] = guiCreateLabel(15, 108, 238, 25, "كــلــمة آلســـر", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[2], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[2], "center") GUIEditor.checkbox[1] = guiCreateCheckBox(35, 188, 208, 33, "حفظ آلمعلومآت", false, false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.checkbox[1], font_0) guiSetProperty(GUIEditor.checkbox[1], "NormalTextColour", "F5D70101") GUIEditor.edit[3] = guiCreateEdit(400, 63, 243, 41, "", false, GUIEditor.staticimage[1]) GUIEditor.edit[4] = guiCreateEdit(400, 137, 243, 41, "", false, GUIEditor.staticimage[1]) GUIEditor.label[3] = guiCreateLabel(405, 38, 238, 25, "آسسم الحســآب", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[3], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[3], "center") GUIEditor.label[4] = guiCreateLabel(405, 114, 238, 25, "كــلــمة آلســـر", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[4], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[4], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[4], "center") GUIEditor.staticimage[4] = guiCreateStaticImage(410, 237, 237, 50, ":guieditor/images/dot_white.png", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.staticimage[4], "ImageColours", "tl:9EFF7B7B tr:9EFF7B7B bl:9EFF7B7B br:9EFF7B7B") GUIEditor.label[5] = guiCreateLabel(1, 3, 232, 44, "تـــســـجـــيـــل", false, GUIEditor.staticimage[4]) guiSetAlpha(GUIEditor.label[5], 0.50) guiSetFont(GUIEditor.label[5], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[5], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[5], "center") GUIEditor.staticimage[5] = guiCreateStaticImage(10, 238, 237, 50, ":guieditor/images/dot_white.png", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.staticimage[5], "ImageColours", "tl:9EFF7B7B tr:9EFF7B7B bl:9EFF7B7B br:9EFF7B7B") GUIEditor.label[6] = guiCreateLabel(3, 2, 232, 45, "تـــســـجـــيــل دخـــول", false, GUIEditor.staticimage[5]) guiSetAlpha(GUIEditor.label[6], 0.50) guiSetFont(GUIEditor.label[6], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[6], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[6], "center") GUIEditor.staticimage[6] = guiCreateStaticImage(326, 188, 711, 31, ":guieditor/images/dot_white.png", false) guiSetProperty(GUIEditor.staticimage[6], "ImageColours", "tl:9EFF7B7B tr:9EFF7B7B bl:9EFF7B7B br:9EFF7B7B") guiSetVisible ( GUIEditor.staticimage[6], false ) GUIEditor.label[7] = guiCreateLabel(2, 5, 709, 25, "لــــوحـــــــة تــــســـجـــيـــل دخـــول", false, GUIEditor.staticimage[6]) guiSetFont(GUIEditor.label[7], font_0) guiLabelSetHorizontalAlign(GUIEditor.label[7], "center", true) guiLabelSetVerticalAlign(GUIEditor.label[7], "center") guiSetAlpha ( GUIEditor.staticimage[4], 0.5 ) guiSetAlpha ( GUIEditor.staticimage[5], 0.5 ) addEventHandler( 'onClientMouseEnter', root, function() if source == GUIEditor.staticimage[4] then guiSetAlpha ( GUIEditor.staticimage[4], 1.0 ) elseif source == GUIEditor.staticimage[5] then guiSetAlpha ( GUIEditor.staticimage[5], 1.0 ) end end ) addEventHandler( 'onClientMouseLeave', root, function() if source == GUIEditor.staticimage[4] then guiSetAlpha ( GUIEditor.staticimage[4], 0.5 ) elseif source == GUIEditor.staticimage[5] then guiSetAlpha ( GUIEditor.staticimage[5], 0.5 ) end end addEventHandler( 'onClientGUIClick', root, function () if ( source == GUIEditor.staticimage[5] ) then if ( guiGetText ( GUIEditor.edit[1] ) ~= "" and guiGetText ( GUIEditor.edit[1] ) ~= " " ) then if ( guiGetText ( GUIEditor.edit[2] ) ~= "" and guiGetText ( GUIEditor.edit[2] ) ~= " " ) then if ( string.len ( guiGetText ( GUIEditor.edit[1] ) ) >= 3 ) then if ( string.len ( guiGetText ( GUIEditor.edit[2] ) ) >= 4 ) then if ( guiCheckBoxGetSelected ( GUIEditor.checkbox[1] ) ) then remeber = true else remeber = false end if ( guiCheckBoxGetSelected ( GUIEditor.checkbox[2] ) ) then destroyElement ( sound ) end triggerServerEvent("onRegister", localPlayer, guiGetText ( GUIEditor.edit[1] ), guiGetText ( GUIEditor.edit[2] ), remeber) else outputChatBox("* Password should be at least 4 characters long !", 255, 0, 0, true, 5) end else outputChatBox("* Username should be at least 3 characters long !", 255, 0, 0, true) end else outputChatBox("* Please Write Password !", 255, 0, 0, true) end else outputChatBox("* Please Write Username !", 255, 0, 0, true) end elseif ( source == GUIEditor.staticimage[4] ) then if ( guiGetText ( GUIEditor.edit[3] ) ~= "" and guiGetText ( GUIEditor.edit[3] ) ~= " " ) then if ( guiGetText ( GUIEditor.edit[4] ) ~= "" and guiGetText ( GUIEditor.edit[4] ) ~= " " ) then if ( guiCheckBoxGetSelected ( GUIEditor.checkbox[1] ) ) then remeber = true else remeber = false end if ( guiCheckBoxGetSelected ( GUIEditor.checkbox[2] ) ) then if ( isElement ( sound ) ) then destroyElement ( sound ) end end triggerServerEvent("onLogin", localPlayer, guiGetText ( GUIEditor.edit[1] ), guiGetText ( GUIEditor.edit[2] ), remeber) else outputChatBox("* Please Write Password !", 255, 0, 0, true) end else outputChatBox("* Please Write Username !", 255, 0, 0, true) end end end ) addEvent("onClose",true) addEventHandler("onClose",root, function () guiSetVisible(GUIEditor.staticimage[1],false) guiSetVisible(GUIEditor.staticimage[6],false) showCursor(false) guiSetInputEnabled(false) Show() end ) لما احددد ع الصوره مايجي شففيتها 100 تجي 50 و ماتضرب الى لزم 100 Link to comment
#kAsR Posted August 4, 2016 Share Posted August 4, 2016 جرب كذا addEventHandler("onClientMouseEnter",root, function ( ) if ( source == GUIEditor.staticimage[4] or source == GUIEditor.staticimage[5] ) then guiSetAlpha ( source , 1.0 ) end end ) addEventHandler("onClientMouseLeave",root, function ( ) if ( source == GUIEditor.staticimage[4] or source == GUIEditor.staticimage[5] ) then guiSetAlpha ( source , 0.5 ) end end ) Link to comment
Wleed1998 Posted August 4, 2016 Author Share Posted August 4, 2016 جرب كذا addEventHandler("onClientMouseEnter",root, function ( ) if ( source == GUIEditor.staticimage[4] or source == GUIEditor.staticimage[5] ) then guiSetAlpha ( source , 1.0 ) end end ) addEventHandler("onClientMouseLeave",root, function ( ) if ( source == GUIEditor.staticimage[4] or source == GUIEditor.staticimage[5] ) then guiSetAlpha ( source , 0.5 ) end end ) اخي زبط صار يحط الشفافيه 1 لكن ي اخي يحه ويشيله ع طول يعني حتى لو دخلت الصوره بس يجي و يروح وانا لسى حآط الموؤشر ع الصوره 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