nxFairlywell Posted July 11, 2014 Share Posted July 11, 2014 وش الي حقك ذا الككودد من الويكي @@ + طرحه ماكس وانا عدلته شويتين ذذ Link to comment
xX|KeMo|Xx Posted July 11, 2014 Share Posted July 11, 2014 الزبده جرب الكود ذا GUIEditor = { button = {}, label = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() w = guiCreateWindow(101, 183, 628, 254, "Rules Mode V1 |^", false) guiWindowSetSizable(w, false) guiSetProperty(w, "CaptionColour", "A300CD74") GUIEditor.button[1] = guiCreateButton(9, 189, 607, 28, "[3.F] @ Copy Rghit 2014 ", false, w) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF003196") GUIEditor.memo[1] = guiCreateMemo(9, 55, 607, 124, " | Welcome To Server [3.F] | اهلآ وسهلآ في سيرفر للفن عنوان |\n\n1>Respect The Players And The Admin | الرجاء احترام الزوار و الأدمنية\n2>Dont Ask For Admin = Mute | الرجاء عدم طلب الأدمنية = ميوت\n3>Dont Insults + Publishing = Ban | الرجاء عدم السب + نشر السيرفرات =باند\n4>For Contact The Admin F8 > report | \n [Thanks To Vist Our Server | شكرآ لزيارتكم السيرفر]", false, w) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.label[1] = guiCreateLabel(241, 35, 152, 20, "Vistor Rules | قوانين الزوار", false, w) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 254, 254, 255) guiSetVisible (w, false) end ) function OpenWin( ) if guiGetVisible ( w, true ) then guiSetVisible ( w, false ) showCursor (false) else showCursor (true) guiSetVisible ( w, true ) end end bindKey ( "F1", "down", OpenWin) خطأ bool guiGetVisible ( element guiElement ) مافي اي زيادهـ !! المهم كود ماكس ما فيه اي مشاكل Link to comment
#=|>[A]sMr,\~> Posted July 11, 2014 Share Posted July 11, 2014 وش الي حقك ذا الككودد من الويكي @@+ طرحه ماكس وانا عدلته شويتين ذذ نفس حقي ض Link to comment
nxFairlywell Posted July 11, 2014 Share Posted July 11, 2014 خطأ bool guiGetVisible ( element guiElement ) مافي اي زيادهـ !! المهم كود ماكس ما فيه اي مشاكل ااصلا الكود ذاا حق ماكس بس انا سويت ترو Link to comment
acount deleted Posted July 11, 2014 Share Posted July 11, 2014 وش الي حقك ي اسمراني انت الي حاطه كله هرايس فوق بعضها Link to comment
xX|KeMo|Xx Posted July 11, 2014 Share Posted July 11, 2014 خطأ bool guiGetVisible ( element guiElement ) مافي اي زيادهـ !! المهم كود ماكس ما فيه اي مشاكل ااصلا الكود ذاا حق ماكس بس انا سويت ترو bool guiGetVisible ( element guiElement ) انت مسوي guiGetVisible ( w, true ) المفروض يكون بس اسم الوندوز فقط داحل القوس شوف صفحهـ الويكي ورح تفهم قصدي + برب Link to comment
#=|>[A]sMr,\~> Posted July 11, 2014 Share Posted July 11, 2014 وش الي حقك ي اسمراني انت الي حاطه كله هرايس فوق بعضها خلاص لاتصقع براسك Link to comment
nxFairlywell Posted July 11, 2014 Share Posted July 11, 2014 يب كلامك صحيح ^ GuiGetVisible bool guiGetVisible ( element guiElement ) Link to comment
AboShanab Posted July 11, 2014 Share Posted July 11, 2014 function() if guiGetVisible(w) then guiSetVisible(w, false) showCursor(false) guiSetInputEnabled(false) else guiSetVisible(w, true) showCursor(true) guiSetInputEnabled(true) bindKey("F1", "down", OpenWin) end end) Link to comment
The Killer Posted July 11, 2014 Share Posted July 11, 2014 لازم اي موضوع تسوون منه قصه Link to comment
#=|>[A]sMr,\~> Posted July 11, 2014 Share Posted July 11, 2014 function() if guiGetVisible(w) then guiSetVisible(w, false) showCursor(false) guiSetInputEnabled(false) else guiSetVisible(w, true) showCursor(true) guiSetInputEnabled(true) bindKey("F1", "down", OpenWin) end end) :bazooka: :bazooka: :bazooka: :bazooka: :bazooka: :bazooka: Link to comment
acount deleted Posted July 11, 2014 Share Posted July 11, 2014 خلاص خلاص انت اخطات اتعلم من خطاك لا ترد على اي واحد يسخر منك او اي شي كذا Link to comment
Simba Posted July 11, 2014 Share Posted July 11, 2014 اسمر function OpenWin() -- هنا تكتب OpenWin عشان تعرفها if guiGetVisible( w ) == true then -- سويه كذا افضل guiSetVisible(w, false) showCursor(false) guiSetInputEnabled(false) else guiSetVisible(w, true) showCursor(true) guiSetInputEnabled(true) bindKey("F1", "down", OpenWin) -- OpenWin غير معرف end end) -- هذا القوس الي بعد اند من وين جايبه ؟؟ لازم تحذفه ولا ما يشتغل ! -- Link to comment
xFace[B]ook Posted July 12, 2014 Share Posted July 12, 2014 مكبرين الموضوع بالنسبة للاكواد الي فوق تقدرون تختصورنه مدري ليه مطولين الكود Link to comment
XI_Alooy1212_IX Posted July 12, 2014 Author Share Posted July 12, 2014 علوي وضح + اسمر كودك خطأ × خطأ وش الخطا لاهنت .. OpenWin - غير معرف بعد الفنكشن . . بعد نفس الشي /: Link to comment
XI_Alooy1212_IX Posted July 12, 2014 Author Share Posted July 12, 2014 بعد يقولي bad argument @ Bindkey Link to comment
nxFairlywell Posted July 12, 2014 Share Posted July 12, 2014 function Show () getVisible = guiGetVisible (اسم النافذه) if (getVisible == true) then guiSetVisible (اسم النافذه, false) showCursor (false) guiSetInputEnabled(false) else guiSetVisible (اسم النافذه, true) showCursor (true) guiSetInputEnabled(true) end end bindKey("F2","down",Show) استبدل F2 بالزر الي تبيه الكود ماخذه من المود حق القوانين حقي وشغال معي Link to comment
XI_Alooy1212_IX Posted July 12, 2014 Author Share Posted July 12, 2014 function Show () getVisible = guiGetVisible (اسم النافذه) if (getVisible == true) then guiSetVisible (اسم النافذه, false) showCursor (false) guiSetInputEnabled(false) else guiSetVisible (اسم النافذه, true) showCursor (true) guiSetInputEnabled(true) end end bindKey("F2","down",Show) استبدل F2 بالزر الي تبيه الكود ماخذه من المود حق القوانين حقي وشغال معي نفس الشي ~_~ Link to comment
nxFairlywell Posted July 12, 2014 Share Posted July 12, 2014 أجــل الخطأ ماهو في الـ bindKey الخطأ بـ شيء ثاني Link to comment
XI_Alooy1212_IX Posted July 12, 2014 Author Share Posted July 12, 2014 طيب ليه يقولي في debugscript 3 bad argument @ bindKey Link to comment
AboShanab Posted July 12, 2014 Share Posted July 12, 2014 وش اصدار سيرفركـ ؟ جرب حدث الى اخر اصدار .. Link to comment
nxFairlywell Posted July 12, 2014 Share Posted July 12, 2014 اصلا ديلوكس صار له شهر احاول احدث مايظهر غير اصدار 1.3.5 والباك اب ماقدر اسويه + وش علاقة الاصدار بـ BindKey Link to comment
XI_Alooy1212_IX Posted July 12, 2014 Author Share Posted July 12, 2014 سيرفري اصدار 1.4 Link to comment
al-Kobra Posted July 12, 2014 Share Posted July 12, 2014 سو في اف8 refresh بعدين اكتب بعد في اف8 restart ResourceName #Edited جرب هذا الكود bindKey("F1","down", function( ) guiSetVisible( w, not guiGetVisible ( w ) ) showCursor ( guiGetVisible ( w ) ) end ) Link to comment
Max+ Posted July 12, 2014 Share Posted July 12, 2014 طيب ليه يقولي في debugscript 3 bad argument @ bindKey جرب الكود حقي بالصفحة الاولى . . .. 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