terreus Posted April 13, 2015 Share Posted April 13, 2015 (edited) السلام عليكم . أنا اليوم سويت لوحة دي اكس وأبيه تكون خلفية شفافة بس معرفت كيف أبي اخلي dxDrawRectangle يكون شفاف وشكر Edited April 13, 2015 by Guest Link to comment
#DRAGON!FIRE Posted April 13, 2015 Share Posted April 13, 2015 dxDrawRectangle ( x, y, w, h, tocolor ( 0, 0, 0, 50 ) ) الخمسين هي الشفافية .. Alpha color: the hex color of the rectangle, produced using tocolor or 0xAARRGGBB (AA = alpha, RR = red, GG = green, BB = blue). Link to comment
terreus Posted April 13, 2015 Author Share Posted April 13, 2015 dxDrawRectangle ( x, y, w, h, tocolor ( 0, 0, 0, 50 ) ) الخمسين هي الشفافية .. Alpha color: the hex color of the rectangle, produced using tocolor or 0xAARRGGBB (AA = alpha, RR = red, GG = green, BB = blue). تمتً أفادةً من قبل أخ زاحفً وشكرً Link to comment
terreus Posted April 13, 2015 Author Share Posted April 13, 2015 فـ الخدمة .. نسيت شيء ض1 عندما اسوي شيء كتابة تطلع في وسط كتابة دي أكس بعدين اخير شاشة من من 768× 1366 ألي 600× 800 يتغير مكان حق كتابة بس كيف أصلحها لاهنت Link to comment
#DRAGON!FIRE Posted April 13, 2015 Share Posted April 13, 2015 سوي حسابات للاحداثيات .. ابحث بالمنتدى في اكثر من طريقة . Link to comment
terreus Posted April 13, 2015 Author Share Posted April 13, 2015 سوي حسابات للاحداثيات .. ابحث بالمنتدى في اكثر من طريقة . ذذ كود حق واحد بس كيف أجيب أحدثيات جربت حق دي local screenWidth, screenHeight = guiGetScreenSize() local x1,y1,x2,y2 = screenWidth*0.2,screenHeight*0.1,screenWidth*0.8,screenHeight*0.9 كيف أجيب أحدثيات حق هذا screenWidth*0.2,screenHeight*0.1,screenWidth*0.8,screenHeight*0.9 Link to comment
The Don Posted April 14, 2015 Share Posted April 14, 2015 ي ريت انك تدور ترى ما اخذت من وقتي نص دقيقه https://forum.multitheftauto.com/viewtopic.php?f ... 1&p=736611 Link to comment
terreus Posted April 14, 2015 Author Share Posted April 14, 2015 ي ريت انك تدور ترى ما اخذت من وقتي نص دقيقهhttps://forum.multitheftauto.com/viewtopic.php?f ... 1&p=736611 شكر جدأ اخوي دون كود حق زاحف فهمني local x, y = guiGetScreenSize ( ) local sx, sy = 1366, 768 dxDrawImage( x * ( 300 / sx ), y * ( 150 / sy ), x * ( 250 / sx ), y * ( 450 / sy ), 'test.png' ) dxDrawText ( 'تجربة', x * ( 200 / sx ), y * ( 100 / sy ), x * ( 15 / sx ), y * ( 10 / sy ), tocolor ( 255,255,255,255 ), x * ( 1.6 / sx ), 'sans' ) dxDrawLine ( x * ( 420 / sx ), y * ( 68 / sy ), x * ( 970 / sx ), y * ( 68 / sy ), tocolor(255,255,255,255) ) الله يعطيك العافية أخ زاحف ًودونً يغلقٍ 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