kokoseda Posted February 11, 2017 Author Share Posted February 11, 2017 Just now, Abu-Solo said: عدل ع الاحداثيات , عدلت شف زي كذا dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false) Link to comment
Abu-Solo Posted February 11, 2017 Share Posted February 11, 2017 1 minute ago, kokoseda said: عدلت شف زي كذا dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false) الصراحة مالي فـ المعادلات هذي تبيلها حسابات ومعادلات Link to comment
Jw8. Posted February 11, 2017 Share Posted February 11, 2017 35 minutes ago, kokoseda said: والله حاولت اكثر من 5 مرات عطني الكود بالله الدي بق : ERROR:chato\c.lua:3: attempt to call global ' guiSetScreenSize' (a nil value) جرب 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 ) @kokoseda ظبط؟ 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