kokoseda Posted February 11, 2017 Share Posted February 11, 2017 السلام عليكم مشكلتي هي المود مايظهر الأكواد local x, y = guiGetScreenSize() local rx, ry = (x/800), (y/600) addEventHandler("onClientRender", root, function lo7h() dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false) dxDrawRectangle(rx*558, ry*296, rx*150, ry*51, tocolor(36, 218, 216, 255), false) dxDrawText("hide/show chat", rx*577, ry*314, rx*688, ry*337, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end ) function ft7() if removeEventHandler("onClientRender",root,lo7h) then removeEventHandler("onClientRender",root,lo7h) showCursor(false) else addEventHandler("onClientRender",root,lo7h) showCursor(true) end end bindKey ( "F9", "down", ft7 ) Link to comment
Abu-Solo Posted February 11, 2017 Share Posted February 11, 2017 (edited) جرب local x, y = guiGetScreenSize() local rx, ry = (x/800), (y/600) function lo7h() dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false) dxDrawRectangle(rx*558, ry*296, rx*150, ry*51, tocolor(36, 218, 216, 255), false) dxDrawText("hide/show chat", rx*577, ry*314, rx*688, ry*337, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end sShowing = false bindKey("f9","down", function ( ) if ( sShowing == true ) then removeEventHandler("onClientRender",root,lo7h) showCursor ( false ) else addEventHandler("onClientRender",root,lo7h) showCursor ( true ) end sShowing = not sShowing end ) Edited February 11, 2017 by Abu-Solo Link to comment
#BrosS Posted February 11, 2017 Share Posted February 11, 2017 Show = false local x, y = guiGetScreenSize() local rx, ry = (x/800), (y/600) function lo7h() dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false) dxDrawRectangle(rx*558, ry*296, rx*150, ry*51, tocolor(36, 218, 216, 255), false) dxDrawText("hide/show chat", rx*577, ry*314, rx*688, ry*337, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end bindKey ( "F9", "down", function ( ) if Show = false then removeEventHandler("onClientRender", root,lo7h) Show = true else addEventHandler("onClientRender", root,lo7h) Show = false end end ) Link to comment
Abu-Solo Posted February 11, 2017 Share Posted February 11, 2017 3 minutes ago, kokoseda said: ولا كود ضبط debugscript 3 في اف 8 وقول وش يطلعلك Link to comment
kokoseda Posted February 11, 2017 Author Share Posted February 11, 2017 4 minutes ago, Abu-Solo said: debugscript 3 في اف 8 وقول وش يطلعلك ERROR:Loading script failed:chato\c.lua:13:'then' expected near'=' Link to comment
Abu-Solo Posted February 11, 2017 Share Posted February 11, 2017 Just now, kokoseda said: ERROR:Loading script failed:chato\c.lua:13:'then' expected near'=' جرب الكود حقي وقول وش يقولك Link to comment
Abu-Solo Posted February 11, 2017 Share Posted February 11, 2017 1 minute ago, #BrosS said: حط 2 == ? سوبهان الله Link to comment
kokoseda Posted February 11, 2017 Author Share Posted February 11, 2017 4 minutes ago, Abu-Solo said: جرب الكود حقي وقول وش يقولك ERROR:chato\c.lua:1:attempt to call global 'guiGetScreenSize' (a nil value) Link to comment
Abu-Solo Posted February 11, 2017 Share Posted February 11, 2017 Show = false local x, y = guiGetScreenSize() local rx, ry = (x/800), (y/600) function lo7h() dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false) dxDrawRectangle(rx*558, ry*296, rx*150, ry*51, tocolor(36, 218, 216, 255), false) dxDrawText("hide/show chat", rx*577, ry*314, rx*688, ry*337, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end bindKey ( "F9", "down", function ( ) if Show == false then removeEventHandler("onClientRender", root,lo7h) Show = true else addEventHandler("onClientRender", root,lo7h) Show = false end end ) حق الاخ بوس بس عدلت عليه Link to comment
Jw8. Posted February 11, 2017 Share Posted February 11, 2017 (edited) local rx, ry = (x/800), (y/600) function lo7h() dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false) dxDrawRectangle(rx*558, ry*296, rx*150, ry*51, tocolor(36, 218, 216, 255), false) dxDrawText("hide/show chat", rx*577, ry*314, rx*688, ry*337, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end sShowing = false bindKey("f9","down", function ( ) if ( sShowing == true ) then removeEventHandler("onClientRender",root,lo7h) showCursor ( false ) else addEventHandler("onClientRender",root,lo7h) showCursor ( true ) end sShowing = not sShowing end ) --حق ابو سولو Edited February 11, 2017 by DmAr511 Link to comment
#BrosS Posted February 11, 2017 Share Posted February 11, 2017 Just now, Abu-Solo said: Show = false local x, y = guiGetScreenSize() local rx, ry = (x/800), (y/600) function lo7h() dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false) dxDrawRectangle(rx*558, ry*296, rx*150, ry*51, tocolor(36, 218, 216, 255), false) dxDrawText("hide/show chat", rx*577, ry*314, rx*688, ry*337, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end bindKey ( "F9", "down", function ( ) if Show == false then removeEventHandler("onClientRender", root,lo7h) Show = true else addEventHandler("onClientRender", root,lo7h) Show = false end end ) حق الاخ بوس بس عدلت عليه بوس خدك Link to comment
Abu-Solo Posted February 11, 2017 Share Posted February 11, 2017 Just now, #BrosS said: بوس خدك لا بـ أبوس شئ ثـآني انشاء الله Link to comment
kokoseda Posted February 11, 2017 Author Share Posted February 11, 2017 1 minute ago, Abu-Solo said: Show = false local x, y = guiGetScreenSize() local rx, ry = (x/800), (y/600) function lo7h() dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false) dxDrawRectangle(rx*558, ry*296, rx*150, ry*51, tocolor(36, 218, 216, 255), false) dxDrawText("hide/show chat", rx*577, ry*314, rx*688, ry*337, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end bindKey ( "F9", "down", function ( ) if Show == false then removeEventHandler("onClientRender", root,lo7h) Show = true else addEventHandler("onClientRender", root,lo7h) Show = false end end ) حق الاخ بوس بس عدلت عليه ERROR:chato\c.lua:3:attempt to call global 'guiGetScreenSize' (a nil value) نفس الخطا Link to comment
#BrosS Posted February 11, 2017 Share Posted February 11, 2017 في اي عالم انت الله بهديك @DmAr511 Link to comment
Jw8. Posted February 11, 2017 Share Posted February 11, 2017 Just now, #BrosS said: في اي عالم انت الله بهديك @DmAr511 هههههههههههههههههههه انا مجرب Just now, #BrosS said: في اي عالم انت الله بهديك @DmAr511 لوسمحت تعال خاص Link to comment
#BrosS Posted February 11, 2017 Share Posted February 11, 2017 1 minute ago, kokoseda said: ERROR:chato\c.lua:3:attempt to call global 'guiGetScreenSize' (a nil value) نفس الخطا احذفها خلاص مالها لزوم x, y = guiGetscreensize() احذف :@ Link to comment
kokoseda Posted February 11, 2017 Author Share Posted February 11, 2017 خطأ بكود دمار بعد ERROR:chato\c.lua:1: attempt to perform arihmetic on global 'x' (a nil value) Link to comment
Abu-Solo Posted February 11, 2017 Share Posted February 11, 2017 Just now, kokoseda said: خطأ بكود دمار بعد ERROR:chato\c.lua:1: attempt to perform arihmetic on global 'x' (a nil value) ههههههههههههههههههههههههههههههه شوف الديبق وش يقول وحاول تصلحها بنفسك ذذ Link to comment
kokoseda Posted February 11, 2017 Author Share Posted February 11, 2017 1 minute ago, Abu-Solo said: ههههههههههههههههههههههههههههههه شوف الديبق وش يقول وحاول تصلحها بنفسك ذذ حاولت عجزت Link to comment
Abu-Solo Posted February 11, 2017 Share Posted February 11, 2017 Just now, kokoseda said: حاولت عجزت جربت اخر كود عطيتك اياه؟ Link to comment
kokoseda Posted February 11, 2017 Author Share Posted February 11, 2017 1 minute ago, Abu-Solo said: جربت اخر كود عطيتك اياه؟ yes Link to comment
Abu-Solo Posted February 11, 2017 Share Posted February 11, 2017 1 minute ago, kokoseda said: yes ذذ_ذذ وش يقول الدي بق يمديني اعطيك الكود جاهز بس ابيك تحاول تفكر شوي وتحل المشكله بـ نفسك Link to comment
kokoseda Posted February 11, 2017 Author Share Posted February 11, 2017 5 minutes ago, Abu-Solo said: ذذ_ذذ وش يقول الدي بق يمديني اعطيك الكود جاهز بس ابيك تحاول تفكر شوي وتحل المشكله بـ نفسك والله حاولت اكثر من 5 مرات عطني الكود بالله الدي بق : ERROR:chato\c.lua:3: attempt to call global ' guiSetScreenSize' (a nil value) 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