Alix2015 Posted November 14, 2015 Share Posted November 14, 2015 السلام عليكم ورحمه الله وبركاته شباب ابي مساعده بكود انا عملت dxDrawRectangle الان ابيها تتلون ما تقف تتلون يعني كل الالوان ممكن كود او مساعده ؟ Link to comment
ALw7sH Posted November 14, 2015 Share Posted November 14, 2015 addEventHandler("onClientRender",root, function() local r,g,b = math.random(0,255),math.random(0,255),math.random(0,255) dxDrawRectangle(0,0,150,150,tocolor(r,g,b,255)) end ) ? Link to comment
Alix2015 Posted November 14, 2015 Author Share Posted November 14, 2015 ذا الكود حقي dxDrawRectangle(rx*((900-250)/2), ry*((900-300)/2), rx*800, ry*400, tocolor(247, 52, 0, 155)) Link to comment
</Mr.Tn6eL> Posted November 14, 2015 Share Posted November 14, 2015 ذا الكود حقي dxDrawRectangle(rx*((900-250)/2), ry*((900-300)/2), rx*800, ry*400, tocolor(247, 52, 0, 155)) أعطاك الوحش الطريقة أحسن قول نسويه لك Link to comment
Alix2015 Posted November 14, 2015 Author Share Posted November 14, 2015 كذا ؟ addEventHandler("onClientRender",root, function() local r,g,b = math.random(0,255),math.random(0,255),math.random(0,255) dxDrawRectangle(rx*((900-250)/2), ry*((900-300)/2), rx*800, ry*400, tocolor(247, 52, 0, 155)) end ) Link to comment
ALw7sH Posted November 14, 2015 Share Posted November 14, 2015 addEventHandler("onClientRender",root,function() local r,g,b = math.random(0,255),math.random(0,255),math.random(0,255) dxDrawRectangle(0,0,150,150,tocolor(r,g,b,255)) end ) اذا ماكنت تعرف حتى وين ارقمنت اللون المفروض ترجع تتعلم برمجه من جديد Link to comment
Alix2015 Posted November 14, 2015 Author Share Posted November 14, 2015 وش بك وي الخطا ؟؟ addEventHandler("onClientRender",root, function() local r,g,b = math.random(0,255),math.random(0,255),math.random(0,255) dxDrawRectangle(rx*((900-250)/2), ry*((900-300)/2), rx*800, ry*400, tocolor(247, 52, 0, 155)) end ) Link to comment
z24d Posted November 14, 2015 Share Posted November 14, 2015 tocolor(247, 52, 0, 155) تصير tocolor(r, g, b ,155) Link to comment
Me[Z]oO Posted November 14, 2015 Share Posted November 14, 2015 وش بك وي الخطا ؟؟ addEventHandler("onClientRender",root, function() local r,g,b = math.random(0,255),math.random(0,255),math.random(0,255) dxDrawRectangle(rx*((900-250)/2), ry*((900-300)/2), rx*800, ry*400, tocolor(247, 52, 0, 155)) end ) لو انت مبرمج استخدم خاصية [lua][/lua لطرح الاكواد الطريقة " viewtopic.php?f=160&t=46670 " 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