Jump to content

سؤل لاهنت


Recommended Posts

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).

تمتً أفادةً من قبل أخ زاحفً

:mrgreen: وشكرً

Link to comment
فـ الخدمة .. :wink:

نسيت شيء ض1

عندما اسوي شيء كتابة تطلع في وسط كتابة دي أكس

بعدين اخير شاشة من

من 768× 1366

ألي 600× 800

يتغير مكان حق كتابة بس كيف أصلحها لاهنت

Link to comment
سوي حسابات للاحداثيات .. ابحث بالمنتدى في اكثر من طريقة .

ذذ كود حق واحد بس كيف أجيب أحدثيات جربت حق دي

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 

8):?

Link to comment
ي ريت انك تدور ترى ما اخذت من وقتي نص دقيقه

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...