Mr-Kartha Posted July 12, 2013 Share Posted July 12, 2013 السلام عليكم ورحمة الله وبركاته كيفكم يا اخوان المهم لا هنتم وش المشكله في هاد الكود ؟؟ addEventHandler("onClientGUIClick",getRootElement(), function () local user = guiGetText(user) local pass = guiGetText(pass) if ( source == GUIEditor_Button[5] ) then guiSetText(GUIEditor_Window[1],"[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]") guiSetText(GUIEditor_Label[2],"آســم آلــمــســتــخــدم") guiSetText(GUIEditor_Label[3],"كــلــمــة آلــمــرور") guiSetText(GUIEditor_Button[2],"دخـول") guiSetText(GUIEditor_Button[1],"تـسـجـيـل") guiSetText(GUIEditor_Button[3],"زآئـر") elseif ( source == GUIEditor_Button[4] ) then guiSetText(GUIEditor_Window[1],"Welcome To Our Server AK-KSA") guiSetText(GUIEditor_Label[2],"Username") guiSetText(GUIEditor_Label[3],"Password") guiSetText(GUIEditor_Button[2],"Login") guiSetText(GUIEditor_Button[1],"Register") guiSetText(GUIEditor_Button[3],"Guest") elseif ( source == GUIEditor_Button[3] ) then guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent("onlogin",getLocalPlayer(),user,pass) elseif ( source == GUIEditor_Button[1] ) then triggerServerEvent("onre",getLocalPlayer(),user,pass) end end ) الخطء في سطر 36 مادري وش به Link to comment
Mr-Kartha Posted July 12, 2013 Author Share Posted July 12, 2013 function () local user = guiGetText(user) local pass = guiGetText(pass) if ( source == GUIEditor_Button[5] ) then guiSetText(GUIEditor_Window[1],"[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]") guiSetText(GUIEditor_Label[2],"آســم آلــمــســتــخــدم") guiSetText(GUIEditor_Label[3],"كــلــمــة آلــمــرور") guiSetText(GUIEditor_Button[2],"دخـول") guiSetText(GUIEditor_Button[1],"تـسـجـيـل") guiSetText(GUIEditor_Button[3],"زآئـر") elseif ( source == GUIEditor_Button[4] ) then guiSetText(GUIEditor_Window[1],"Welcome To Our Server AK-KSA") guiSetText(GUIEditor_Label[2],"Username") guiSetText(GUIEditor_Label[3],"Password") guiSetText(GUIEditor_Button[2],"Login") guiSetText(GUIEditor_Button[1],"Register") guiSetText(GUIEditor_Button[3],"Guest") elseif ( source == GUIEditor_Button[3] ) then guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent("onlogin",getLocalPlayer(),user,pass) elseif ( source == GUIEditor_Button[1] ) then triggerServerEvent("onre",getLocalPlayer(),user,pass) end end ) addEvent("setcol",true) addEventHandler("setcol",getRootElement(), function () guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) end ) end) لا يعمل Link to comment
Mr-Kartha Posted July 12, 2013 Author Share Posted July 12, 2013 شسمه ماهي نافذه هاذي ترا Link to comment
فاّرس Posted July 12, 2013 Share Posted July 12, 2013 مسوي شرط if source == .... ومافي ايفنت اصلا؟ وزايد اند وقوسين Link to comment
#DRAGON!FIRE Posted July 12, 2013 Share Posted July 12, 2013 شسمه ماهي نافذه هاذي ترا كيف مو نافذة .؟؟؟ ! Link to comment
Mr-Kartha Posted July 12, 2013 Author Share Posted July 12, 2013 شسمه ماهي نافذه هاذي ترا كيف مو نافذة .؟؟؟ ! اقصد الكود هاذ ماهو نافذه + صلح لي الكود ابي اشوف فين Event Link to comment
فاّرس Posted July 12, 2013 Share Posted July 12, 2013 addEventHandler('onClientGUIClick',root, function () if ( source == GUIEditor_Button[5] ) then guiSetText(GUIEditor_Window[1],"[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]") guiSetText(GUIEditor_Label[2],"آســم آلــمــســتــخــدم") guiSetText(GUIEditor_Label[3],"كــلــمــة آلــمــرور") guiSetText(GUIEditor_Button[2],"دخـول") guiSetText(GUIEditor_Button[1],"تـسـجـيـل") guiSetText(GUIEditor_Button[3],"زآئـر") elseif ( source == GUIEditor_Button[4] ) then guiSetText(GUIEditor_Window[1],"Welcome To Our Server AK-KSA") guiSetText(GUIEditor_Label[2],"Username") guiSetText(GUIEditor_Label[3],"Password") guiSetText(GUIEditor_Button[2],"Login") guiSetText(GUIEditor_Button[1],"Register") guiSetText(GUIEditor_Button[3],"Guest") elseif ( source == GUIEditor_Button[3] ) then guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent("onlogin",localPlayer,guiGetText(user),guiGetText(pass)) elseif ( source == GUIEditor_Button[1] ) then triggerServerEvent("onre",localPlayer,guiGetText(user),guiGetText(pass)) end end ) addEvent("setcol",true) addEventHandler("setcol",root, function () if guiGetVisible(GUIEditor_Window[1]) then guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) end end ) Link to comment
Mr-Kartha Posted July 12, 2013 Author Share Posted July 12, 2013 addEventHandler("onClientGUIClick",getRootElement(), function () local user = guiGetText(user) local pass = guiGetText(pass) if ( source == GUIEditor_Button[5] ) then guiSetText(GUIEditor_Window[1],"[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]") guiSetText(GUIEditor_Label[2],"آســم آلــمــســتــخــدم") guiSetText(GUIEditor_Label[3],"كــلــمــة آلــمــرور") guiSetText(GUIEditor_Button[2],"دخـول") guiSetText(GUIEditor_Button[1],"تـسـجـيـل") guiSetText(GUIEditor_Button[3],"زآئـر") elseif ( source == GUIEditor_Button[4] ) then guiSetText(GUIEditor_Window[1],"Welcome To Our Server AK-KSA") guiSetText(GUIEditor_Label[2],"Username") guiSetText(GUIEditor_Label[3],"Password") guiSetText(GUIEditor_Button[2],"Login") guiSetText(GUIEditor_Button[1],"Register") guiSetText(GUIEditor_Button[3],"Guest") elseif ( source == GUIEditor_Button[3] ) then guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent("onlogin",getLocalPlayer(),user,pass) elseif ( source == GUIEditor_Button[1] ) then triggerServerEvent("onre",getLocalPlayer(),user,pass) end end ) addEvent("setcol",true) addEventHandler("setcol",getRootElement(), function () guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) end ) end) كذا ؟ بعد مهو ظابط Link to comment
Mr-Kartha Posted July 12, 2013 Author Share Posted July 12, 2013 addEventHandler('onClientGUIClick',root, بجرب واجي Link to comment
فاّرس Posted July 12, 2013 Share Posted July 12, 2013 جربت هذا ؟ addEventHandler('onClientGUIClick',root, function () if ( source == GUIEditor_Button[5] ) then guiSetText(GUIEditor_Window[1],"[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]") guiSetText(GUIEditor_Label[2],"آســم آلــمــســتــخــدم") guiSetText(GUIEditor_Label[3],"كــلــمــة آلــمــرور") guiSetText(GUIEditor_Button[2],"دخـول") guiSetText(GUIEditor_Button[1],"تـسـجـيـل") guiSetText(GUIEditor_Button[3],"زآئـر") elseif ( source == GUIEditor_Button[4] ) then guiSetText(GUIEditor_Window[1],"Welcome To Our Server AK-KSA") guiSetText(GUIEditor_Label[2],"Username") guiSetText(GUIEditor_Label[3],"Password") guiSetText(GUIEditor_Button[2],"Login") guiSetText(GUIEditor_Button[1],"Register") guiSetText(GUIEditor_Button[3],"Guest") elseif ( source == GUIEditor_Button[3] ) then guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent("onlogin",localPlayer,guiGetText(user),guiGetText(pass)) elseif ( source == GUIEditor_Button[1] ) then triggerServerEvent("onre",localPlayer,guiGetText(user),guiGetText(pass)) end end ) addEvent("setcol",true) addEventHandler("setcol",root, function () if guiGetVisible(GUIEditor_Window[1]) then guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) end end ) + اذا ما اشتغل اطرح الكلنت كامل , + يمكن من السيرفر مافي ترايقر ذذ Link to comment
Mr-Kartha Posted July 12, 2013 Author Share Posted July 12, 2013 error ,end, والفاكشن سطر 95 Link to comment
#DRAGON!FIRE Posted July 12, 2013 Share Posted July 12, 2013 error ,end, والفاكشنسطر 95 # في الكود كلها مافي سطر 95 # اطرح سطر 95 # او الكود كامل Link to comment
فاّرس Posted July 12, 2013 Share Posted July 12, 2013 الكود الي عطيتك المفروض يشتغل , اطرح كودك, Link to comment
#DRAGON!FIRE Posted July 12, 2013 Share Posted July 12, 2013 addEventHandler('onClientGUIClick',root, function () if ( source == GUIEditor_Button[5] ) then guiSetText(GUIEditor_Window[1],"[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]") guiSetText(GUIEditor_Label[2],"آســم آلــمــســتــخــدم") guiSetText(GUIEditor_Label[3],"كــلــمــة آلــمــرور") guiSetText(GUIEditor_Button[2],"دخـول") guiSetText(GUIEditor_Button[1],"تـسـجـيـل") guiSetText(GUIEditor_Button[3],"زآئـر") elseif ( source == GUIEditor_Button[4] ) then guiSetText(GUIEditor_Window[1],"Welcome To Our Server AK-KSA") guiSetText(GUIEditor_Label[2],"Username") guiSetText(GUIEditor_Label[3],"Password") guiSetText(GUIEditor_Button[2],"Login") guiSetText(GUIEditor_Button[1],"Register") guiSetText(GUIEditor_Button[3],"Guest") elseif ( source == GUIEditor_Button[3] ) then guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent("onlogin",localPlayer,guiGetText(user),guiGetText(pass)) elseif ( source == GUIEditor_Button[1] ) then triggerServerEvent("onre",localPlayer,guiGetText(user),guiGetText(pass)) end end ) addEvent("setcol",true) addEventHandler("setcol",getRootElement(), function () guiSetVisible(wnd,false) showCursor(false) guiSetInputEnabled(false) end ) wnd= اسم النافذة Link to comment
Mr-Kartha Posted July 12, 2013 Author Share Posted July 12, 2013 (edited) تم الحذف Edited July 13, 2013 by Guest Link to comment
#DRAGON!FIRE Posted July 12, 2013 Share Posted July 12, 2013 # جرب الكود الي عطيتك هو وباذن الله يشتغل معاك addEventHandler("onClientResourceStart", resourceRoot, function(). ؟؟ # ناقصك اند وقوس اخر شي Link to comment
#DRAGON!FIRE Posted July 12, 2013 Share Posted July 12, 2013 # جربت كودي .؟ # + لو جربته وما ضبط # في مكشلة انك مسوي حدث ووظيفة اول الكود ومو مغلقهم حط اخر كود انشاء الـ gui end ) Link to comment
فاّرس Posted July 12, 2013 Share Posted July 12, 2013 (edited) وش السحر ذا ,اكواد من المريخ ذذ function() --Checking the datas for the right type----[[------------------------------------------------- --- المود صنع مستر الكارثه --- [email protected] --- الرجاء عدم نزع الحقوق --]]------------------------------------------------- outputChatBox("#1569c7* [ Login #ffffff/ #1569c7Register ] : By : #FF0000Mr~AL~#FFF000~Kartha",0,0,0,true) ---- الكلام الظاهر في الشات end GUIEditor = { staticimage = {}, edit = {}, button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(1, 0, 799, 600, "[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.99) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.staticimage[1] = guiCreateStaticImage(9, 22, 780, 308, "win.png", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(193, 344, 406, 24, "الرجاء عدم اعطاء الرقم السري الى احد حتا لو كان اخوك ولد عمك لا تعطيه ناس", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 0) user = guiCreateEdit(305, 417, 185, 29, "", false, GUIEditor.window[1]) pass = guiCreateEdit(305, 474, 185, 29, "", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(342, 395, 117, 22, "آســم آلــمــســتــخــدم", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 255, 0, 0) GUIEditor.label[3] = guiCreateLabel(352, 452, 95, 22, "كــلــمــة آلــمــرور", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 251, 255, 0) GUIEditor.button[1] = guiCreateButton(274, 534, 88, 31, "تـسـجـيـل", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFBFF00") GUIEditor.button[2] = guiCreateButton(362, 534, 88, 31, "دخـول", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF05FF00") GUIEditor.button[3] = guiCreateButton(450, 534, 88, 31, "زآئـر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF00FFF5") GUIEditor.label[4] = guiCreateLabel(236, 371, 320, 20, "\" رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ\"", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetColor(GUIEditor.label[4], 255, 252, 0) GUIEditor.label[5] = guiCreateLabel(14, 337, 114, 21, "Mod By : Mr-Kartha", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 0, 251, 255) GUIEditor.button[4] = guiCreateButton(411, 513, 29, 16, "EN", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFF0000") GUIEditor.button[5] = guiCreateButton(366, 513, 29, 16, "AR", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF2FFF00") showCursor(true) guiSetInputEnabled(true) end ) addEventHandler('onClientGUIClick',root, function () if ( source == GUIEditor_Button[5] ) then guiSetText(GUIEditor_Window[1],"[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]") guiSetText(GUIEditor_Label[2],"آســم آلــمــســتــخــدم") guiSetText(GUIEditor_Label[3],"كــلــمــة آلــمــرور") guiSetText(GUIEditor_Button[2],"دخـول") guiSetText(GUIEditor_Button[1],"تـسـجـيـل") guiSetText(GUIEditor_Button[3],"زآئـر") elseif ( source == GUIEditor_Button[4] ) then guiSetText(GUIEditor_Window[1],"Welcome To Our Server AK-KSA") guiSetText(GUIEditor_Label[2],"Username") guiSetText(GUIEditor_Label[3],"Password") guiSetText(GUIEditor_Button[2],"Login") guiSetText(GUIEditor_Button[1],"Register") guiSetText(GUIEditor_Button[3],"Guest") elseif ( source == GUIEditor_Button[3] ) then guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent("onlogin",localPlayer,guiGetText(user),guiGetText(pass)) elseif ( source == GUIEditor_Button[1] ) then triggerServerEvent("onre",localPlayer,guiGetText(user),guiGetText(pass)) end end ) addEvent("setcol",true) addEventHandler("setcol",root, function () if guiGetVisible(GUIEditor_Window[1]) then guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) end end ) Edited July 12, 2013 by Guest Link to comment
iPrestege Posted July 12, 2013 Share Posted July 12, 2013 وش السحر ذا ,اكواد من المريخ ذذ local x,y = guiGetScreenSize() function() --Checking the datas for the right type----[[------------------------------------------------- --- المود صنع مستر الكارثه --- [email protected] --- الرجاء عدم نزع الحقوق --]]------------------------------------------------- outputChatBox("#1569c7* [ Login #ffffff/ #1569c7Register ] : By : #FF0000Mr~AL~#FFF000~Kartha",0,0,0,true) ---- الكلام الظاهر في الشات end GUIEditor = { staticimage = {}, edit = {}, button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(1, 0, 799, 600, "[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.99) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.staticimage[1] = guiCreateStaticImage(9, 22, 780, 308, "win.png", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(193, 344, 406, 24, "الرجاء عدم اعطاء الرقم السري الى احد حتا لو كان اخوك ولد عمك لا تعطيه ناس", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 0) user = guiCreateEdit(305, 417, 185, 29, "", false, GUIEditor.window[1]) pass = guiCreateEdit(305, 474, 185, 29, "", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(342, 395, 117, 22, "آســم آلــمــســتــخــدم", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 255, 0, 0) GUIEditor.label[3] = guiCreateLabel(352, 452, 95, 22, "كــلــمــة آلــمــرور", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 251, 255, 0) GUIEditor.button[1] = guiCreateButton(274, 534, 88, 31, "تـسـجـيـل", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFBFF00") GUIEditor.button[2] = guiCreateButton(362, 534, 88, 31, "دخـول", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF05FF00") GUIEditor.button[3] = guiCreateButton(450, 534, 88, 31, "زآئـر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF00FFF5") GUIEditor.label[4] = guiCreateLabel(236, 371, 320, 20, "\" رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ\"", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetColor(GUIEditor.label[4], 255, 252, 0) GUIEditor.label[5] = guiCreateLabel(14, 337, 114, 21, "Mod By : Mr-Kartha", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 0, 251, 255) GUIEditor.button[4] = guiCreateButton(411, 513, 29, 16, "EN", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFF0000") GUIEditor.button[5] = guiCreateButton(366, 513, 29, 16, "AR", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF2FFF00") showCursor(true) guiSetInputEnabled(true) end ) addEventHandler('onClientGUIClick',root, function () if ( source == GUIEditor_Button[5] ) then guiSetText(GUIEditor_Window[1],"[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]") guiSetText(GUIEditor_Label[2],"آســم آلــمــســتــخــدم") guiSetText(GUIEditor_Label[3],"كــلــمــة آلــمــرور") guiSetText(GUIEditor_Button[2],"دخـول") guiSetText(GUIEditor_Button[1],"تـسـجـيـل") guiSetText(GUIEditor_Button[3],"زآئـر") elseif ( source == GUIEditor_Button[4] ) then guiSetText(GUIEditor_Window[1],"Welcome To Our Server AK-KSA") guiSetText(GUIEditor_Label[2],"Username") guiSetText(GUIEditor_Label[3],"Password") guiSetText(GUIEditor_Button[2],"Login") guiSetText(GUIEditor_Button[1],"Register") guiSetText(GUIEditor_Button[3],"Guest") elseif ( source == GUIEditor_Button[3] ) then guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent("onlogin",localPlayer,guiGetText(user),guiGetText(pass)) elseif ( source == GUIEditor_Button[1] ) then triggerServerEvent("onre",localPlayer,guiGetText(user),guiGetText(pass)) end end ) addEvent("setcol",true) addEventHandler("setcol",root, function () if guiGetVisible(GUIEditor_Window[1]) then guiSetVisible(GUIEditor_Window[1],false) showCursor(false) guiSetInputEnabled(false) end end ) :bazooka: 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