+Source|> Posted August 8, 2018 Posted August 8, 2018 سلام عليكم معي كلام دي اكس بس ما يجي لكل الشاشات dxDrawText( "#ffffffWelcome", 10, 457, 790, 500, tocolor(255, 0, 0, 255), 2.50, "default", "center", "center", false, false, true, true, false ) ابيه يجي زي كذا للكل الشاشات My Website
SycroX Posted August 8, 2018 Posted August 8, 2018 On 22/03/2018 at 17:18, #َxLysandeR said: function convertToAllScreens(x, y, w, h, resolutionX, resolutionY) if tonumber(x) and tonumber(y) and tonumber(w) and tonumber(h) and tonumber(resolutionX) and tonumber(resolutionY) then local screenW, screenH = guiGetScreenSize() local newX, newY, newW, newH = (x/resolutionX)*screenW, (y/resolutionY)*screenH, (w/resolutionX)*screenW, (h/resolutionY)*screenH return newX, newY, newW, newH end return false end x, y, w, h = الاحداثيات و الحجم resolutionX, resolutionY = مقاس شاشتك الي صممت به اللوحه ----------- returns x, y, w, h = الاحداثيات و الحجم الجديد الي يناسب كل الشاشات Example : addEventHandler("onClientRender", root, function() local x, y, w, h = convertToAllScreens(383, 186, 515, 31, 1280, 800) dxDrawRectangle(x, y, w, h, tocolor(255, 255, 255, 125), false) end ) الفانكشن تنفع لي الـ GUI + DX Chillin' with some demons, satans and vamps
+Source|> Posted August 8, 2018 Author Posted August 8, 2018 3 minutes ago, #َxLysandeR said: ما فهمت يعني ابدل resolutionX, resolutionY بشاشتي بس ؟ ول up ? My Website
Doffy Posted August 8, 2018 Posted August 8, 2018 Just now, +Source|> said: ما فهمت يعني ابدل resolutionX, resolutionY بشاشتي بس ؟ ول up ? اسهل طريقة بالنسبة لي عندك يوم تيجي تسوي شي بالجيو ايديتور حدد عليه من كليك يمين وانزل حدد علي realtive بيظبط لكل الشاشات تلقائي بس اهم شي قبل ما تسوي الخطوة ذي لازم تخلي مقاس شاشتك 800 x 600 هذي الطريقة استخدمها وشغالة 100% 1 1
+Source|> Posted August 8, 2018 Author Posted August 8, 2018 8 minutes ago, #DesTroeyR said: اسهل طريقة بالنسبة لي عندك يوم تيجي تسوي شي بالجيو ايديتور حدد عليه من كليك يمين وانزل حدد علي realtive بيظبط لكل الشاشات تلقائي بس اهم شي قبل ما تسوي الخطوة ذي لازم تخلي مقاس شاشتك 800 x 600 هذي الطريقة استخدمها وشغالة 100% يعطيك العافيه 1 My Website
Doffy Posted August 8, 2018 Posted August 8, 2018 Just now, +Source|> said: يعطيك العافيه حياك الله ^
Mr.Mostafa Posted August 8, 2018 Posted August 8, 2018 2 minutes ago, #DesTroeyR said: حياك الله ^ رد خآص ض1 * تم آلآفتتآح مرة اخري , حياكم الله * ip : * mtasa://145.239.212.62:22003 *
[T]|O|[P]George Posted August 8, 2018 Posted August 8, 2018 1 hour ago, #DesTroeyR said: اسهل طريقة بالنسبة لي عندك يوم تيجي تسوي شي بالجيو ايديتور حدد عليه من كليك يمين وانزل حدد علي realtive بيظبط لكل الشاشات تلقائي بس اهم شي قبل ما تسوي الخطوة ذي لازم تخلي مقاس شاشتك 800 x 600 هذي الطريقة استخدمها وشغالة 100% +1 تقدر تستعمله علي طول من guieditor 1 hour ago, #DesTroeyR said: حياك الله ^ تعال السيرفر
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