momar5700 Posted August 28, 2015 Share Posted August 28, 2015 (edited) سلام عليكم ورحمة الله وبركاته انا ابي احط بدل زر تسجيل دخول الي صورة تضغط فيةة تسجل دخولك كيف هاط كلنت ابيكم تغيرون من زر الي صور نضغط فيها ممكن ولما تيجي علي صورة تيجي صورة تانيه ممكن انا حاولت اغيرها بس ماعرفت ممكن مساعدة لو سمحتم addEventHandler("onClientMouseEnter",guiRoot,function() if ( source == login ) then guiSetText(login,"♥ Login ♥") elseif ( source == reg ) then guiSetText(reg,"♥ Register ♥") elseif ( source == ex ) then guiSetText(ex,"") end end) showPlayerHudComponent('radar',false) addEventHandler("onClientMouseLeave",guiRoot,function() if ( source == login ) then guiSetText(login,"♥ Login ♥") elseif ( source == reg ) then guiSetText(reg,"♥ Register ♥") elseif ( source == ex ) then guiSetText(ex,"") end end) showPlayerHudComponent('radar',false) addEvent("onPutSave",true) addEventHandler("onPutSave",root, function (puser,ppass) guiSetText(user,puser) guiSetText(pass,ppass) end ) addEventHandler("onClientGUIClick",root, function () local user = guiGetText(user) local pass = guiGetText(pass) if ( source == login ) then if user ~= "" and pass ~= "" then if guiCheckBoxGetSelected(remember) then triggerServerEvent("remember",localPlayer,user,pass) else triggerServerEvent("login",localPlayer,user,pass) end else outputChatBox("* You Must Write Username Or Password",255,0,0) end elseif ( source == reg ) then if user ~= "" and pass ~= "" then triggerServerEvent("reg",localPlayer,user,pass) else triggerEvent("addNotification", getLocalPlayer()," الرجاء التأكد من كلمة المرور او اسم المستخدم",2) end end end ) Edited August 28, 2015 by Guest Link to comment
iMr.SFA7 Posted August 28, 2015 Share Posted August 28, 2015 زر صورة كلها وآحد غير أنشاء الزر لـ أنشاء صورة فقط guiCreateStaticImage Link to comment
momar5700 Posted August 28, 2015 Author Share Posted August 28, 2015 ممكن تغيره انت اسف ععلي ازعاجك لاني حاولت اسويه ومانجح Link to comment
iMr.SFA7 Posted August 28, 2015 Share Posted August 28, 2015 ممكن تغيره انت اسف ععلي ازعاجك لاني حاولت اسويه ومانجح أطرح آنشآء الزر x_x Link to comment
momar5700 Posted August 28, 2015 Author Share Posted August 28, 2015 لو سمحت ساعدني سويه لي ماراح تخسر Link to comment
iMr.SFA7 Posted August 28, 2015 Share Posted August 28, 2015 لو سمحت ساعدني سويه لي ماراح تخسر لا اله الا الله !َ أطرح أنشاء الزر أسويه لكك ؟ شكلك ما تعرف أنشاء الزر ؟ تبي تسوي قيم مود هجولة ؟ أطرح النآفذة طيب كذآ يمكن تفهم x_x Link to comment
momar5700 Posted August 28, 2015 Author Share Posted August 28, 2015 ايه فاهمت هاط ازرار تسجيل وتسجيل دخول هههههههههههههههههههههههههههههههههههههههههههههه reg = guiCreateButton(270, 465, 87, 23, "♥ Register ♥", false, wnd) guiSetFont(reg, font) guiSetProperty(reg, "NormalTextColour", "FF26D5CB") --------------------------------------------------------------------------------- login = guiCreateButton(399, 465, 87, 23, "♥ Login ♥", false, wnd) guiSetFont(login, font) guiSetProperty(login, "NormalTextColour", "FF26D5CB") centerWindow(wnd) triggerServerEvent("onGetSave",localPlayer) addEventHandler("onClientMouseEnter",guiRoot,function() if ( source == login ) then guiSetText(login,"♥ Login ♥") elseif ( source == reg ) then guiSetText(reg,"♥ Register ♥") elseif ( source == ex ) then guiSetText(ex,"") end end) showPlayerHudComponent('radar',false) addEventHandler("onClientMouseLeave",guiRoot,function() if ( source == login ) then guiSetText(login,"♥ Login ♥") elseif ( source == reg ) then guiSetText(reg,"♥ Register ♥") elseif ( source == ex ) then guiSetText(ex,"") end end) showPlayerHudComponent('radar',false) addEvent("onPutSave",true) addEventHandler("onPutSave",root, function (puser,ppass) guiSetText(user,puser) guiSetText(pass,ppass) end ) addEventHandler("onClientGUIClick",root, function () local user = guiGetText(user) local pass = guiGetText(pass) if ( source == login ) then if user ~= "" and pass ~= "" then if guiCheckBoxGetSelected(remember) then triggerServerEvent("remember",localPlayer,user,pass) else triggerServerEvent("login",localPlayer,user,pass) end else outputChatBox("* You Must Write Username Or Password",255,0,0) end elseif ( source == reg ) then if user ~= "" and pass ~= "" then triggerServerEvent("reg",localPlayer,user,pass) else triggerEvent("addNotification", getLocalPlayer()," الرجاء التأكد من كلمة المرور او اسم المستخدم",2) end end end ) Link to comment
iMr.SFA7 Posted August 28, 2015 Share Posted August 28, 2015 حطه كذآ reg = guiCreateStaticImage(270, 465, 87, 23, "img.png", false, wnd) guiSetFont(reg, font) guiSetProperty(reg, "NormalTextColour", "FF26D5CB") --------------------------------------------------------------------------------- login = guiCreateStaticImage(399, 465, 87, 23, "img2.png", false, wnd) guiSetFont(login, font) guiSetProperty(login, "NormalTextColour", "FF26D5CB") centerWindow(wnd) triggerServerEvent("onGetSave",localPlayer) addEventHandler("onClientMouseEnter",guiRoot,function() if ( source == login ) then guiSetText(login,"♥ Login ♥") elseif ( source == reg ) then guiSetText(reg,"♥ Register ♥") elseif ( source == ex ) then guiSetText(ex,"") end end) showPlayerHudComponent('radar',false) addEventHandler("onClientMouseLeave",guiRoot,function() if ( source == login ) then guiSetText(login,"♥ Login ♥") elseif ( source == reg ) then guiSetText(reg,"♥ Register ♥") elseif ( source == ex ) then guiSetText(ex,"") end end) showPlayerHudComponent('radar',false) addEvent("onPutSave",true) addEventHandler("onPutSave",root, function (puser,ppass) guiSetText(user,puser) guiSetText(pass,ppass) end ) addEventHandler("onClientGUIClick",root, function () local user = guiGetText(user) local pass = guiGetText(pass) if ( source == login ) then if user ~= "" and pass ~= "" then if guiCheckBoxGetSelected(remember) then triggerServerEvent("remember",localPlayer,user,pass) else triggerServerEvent("login",localPlayer,user,pass) end else outputChatBox("* You Must Write Username Or Password",255,0,0) end elseif ( source == reg ) then if user ~= "" and pass ~= "" then triggerServerEvent("reg",localPlayer,user,pass) else triggerEvent("addNotification", getLocalPlayer()," الرجاء التأكد من كلمة المرور او اسم المستخدم",2) end end end ) غير img لـ آسم الصورة حق التسجيل وغير img2 لـ آسم الصورة حق تسجيل الدخول وغير png للصيغة حقت الصور وضيف الصور للميتآ Link to comment
momar5700 Posted August 28, 2015 Author Share Posted August 28, 2015 الوووو انا الحين اشف بس صور اضغط عليهم مافي شيء ليش يعني كاني بس ضايف صورة Link to comment
iMr.SFA7 Posted August 28, 2015 Share Posted August 28, 2015 reg = guiCreateStaticImage(270, 465, 87, 23, "img.png", false, wnd) guiSetFont(reg, font) guiSetProperty(reg, "NormalTextColour", "FF26D5CB") --------------------------------------------------------------------------------- login = guiCreateStaticImage(399, 465, 87, 23, "img2.png", false, wnd) guiSetFont(login, font) guiSetProperty(login, "NormalTextColour", "FF26D5CB") centerWindow(wnd) triggerServerEvent("onGetSave",localPlayer) showPlayerHudComponent('radar',false) addEvent("onPutSave",true) addEventHandler("onPutSave",root, function (puser,ppass) guiSetText(user,puser) guiSetText(pass,ppass) end ) addEventHandler("onClientGUIClick",root, function () local user = guiGetText(user) local pass = guiGetText(pass) if ( source == login ) then if user ~= "" and pass ~= "" then if guiCheckBoxGetSelected(remember) then triggerServerEvent("remember",localPlayer,user,pass) else triggerServerEvent("login",localPlayer,user,pass) end else outputChatBox("* You Must Write Username Or Password",255,0,0) end elseif ( source == reg ) then if user ~= "" and pass ~= "" then triggerServerEvent("reg",localPlayer,user,pass) else triggerEvent("addNotification", getLocalPlayer()," الرجاء التأكد من كلمة المرور او اسم المستخدم",2) end end end ) تأكد أنككـ ضآيف الصور بالميتآ Link to comment
momar5700 Posted August 28, 2015 Author Share Posted August 28, 2015 ايه ياخي اقول لك ظهرت صورر بس اضغط عليهم مافي شيء كانك حاطت صورة بس Link to comment
iMr.SFA7 Posted August 28, 2015 Share Posted August 28, 2015 ايه ياخي اقول لك ظهرت صورر بس اضغط عليهم مافي شيء كانك حاطت صورة بس /debugscript 3 Link to comment
momar5700 Posted August 28, 2015 Author Share Posted August 28, 2015 (edited) وش الدي بك والله مش فاهم ايش دي بك Edited August 28, 2015 by Guest Link to comment
iMr.SFA7 Posted August 28, 2015 Share Posted August 28, 2015 ايش أفتح الدي بق وورني بأي سطر الخطأ /debugscript 3 Link to comment
Rockyz Posted August 28, 2015 Share Posted August 28, 2015 ايش اكتب في اف 8 debugscript 3 !!!!!!!!! Link to comment
momar5700 Posted August 28, 2015 Author Share Posted August 28, 2015 (edited) debugscript: Your debug mode was set to 3 Edited August 28, 2015 by Guest Link to comment
Rockyz Posted August 28, 2015 Share Posted August 28, 2015 debugscript: Your debug mode was set to 3 تحت وش مكتوب Link to comment
momar5700 Posted August 28, 2015 Author Share Posted August 28, 2015 (edited) راح اعضيك الصورة شف بالصورة لان كلام طويل انا عرفت خطا نسيت اغير اسم صورة بس فضل نفس ماهو ماتغير Edited August 28, 2015 by Guest Link to comment
#DRAGON!FIRE Posted August 28, 2015 Share Posted August 28, 2015 تاكد من وجود الصور والازرار والخ .. ونفس الاسم يوم تحط لها الخصائص شف رقم السطور وتاكد منها . Link to comment
iMr.SFA7 Posted August 28, 2015 Share Posted August 28, 2015 img and img2 غير آسم الصور لـ Link to comment
momar5700 Posted August 28, 2015 Author Share Posted August 28, 2015 الو ضفني سكايب momar5911 الوو عدلت موضع فوق شوفوه Link to comment
iMr.SFA7 Posted August 28, 2015 Share Posted August 28, 2015 ممكن تقولي آسماء الصور الي حآطهآ بالميتآ ؟ Link to comment
momar5700 Posted August 28, 2015 Author Share Posted August 28, 2015 اشتغل بس ابي لما تيجي علي صورة كانك تيجي علي زر لان صورة كانك حاطت صورة عاديه تضغط عليه تسجل ابيها مثل زر Link to comment
iMr.SFA7 Posted August 28, 2015 Share Posted August 28, 2015 reg = guiCreateStaticImage(270, 465, 87, 23, "img.png", false, wnd) guiSetFont(reg, font) guiSetProperty(reg, "NormalTextColour", "FF26D5CB") --------------------------------------------------------------------------------- login = guiCreateStaticImage(399, 465, 87, 23, "img2.png", false, wnd) guiSetFont(login, font) guiSetProperty(login, "NormalTextColour", "FF26D5CB") centerWindow(wnd) guiSetAlpha ( face1, 0.50 ) guiSetAlpha ( face2, 0.50 ) triggerServerEvent("onGetSave",localPlayer) addEventHandler("onClientMouseEnter",root,function() if ( source == login or source == reg ) then guiSetAlpha ( face1, 1.0 ) guiSetAlpha ( face2, 1.0 ) end end ) addEvent("onPutSave",true) addEventHandler("onPutSave",root, function (puser,ppass) guiSetText(user,puser) guiSetText(pass,ppass) end ) addEventHandler("onClientGUIClick",root, function () local user = guiGetText(user) local pass = guiGetText(pass) if ( source == login ) then if user ~= "" and pass ~= "" then if guiCheckBoxGetSelected(remember) then triggerServerEvent("remember",localPlayer,user,pass) else triggerServerEvent("login",localPlayer,user,pass) end else outputChatBox("* You Must Write Username Or Password",255,0,0) end elseif ( source == reg ) then if user ~= "" and pass ~= "" then triggerServerEvent("reg",localPlayer,user,pass) else triggerEvent("addNotification", getLocalPlayer()," الرجاء التأكد من كلمة المرور او اسم المستخدم",2) end end end ) سويته لككـ اذا حطيت المآوس ع الصور تصير تأثيرآت يعني لاحطيت المآوس بتصير وآضحة Link to comment
Recommended Posts