Jump to content

تغير خط dxDrawText|thx to KING-ABADY


Recommended Posts

Posted
local text = "test"  
  
local size = 4  
  
  
  
dx = function() 
local x, y = guiGetScreenSize ( ) 
local x = x - 752 
local y = y - 90 
 dxDrawText ( text, x/2, y/2, 752, 90, tocolor ( 255, 255, 0, 255 ), size, lbn ) 
end 
local lbn = dxCreateFont( "RaYaN.ttf", 6 ) 

سويتهه كذا

بسس ما ضبط

Posted

طيب هو ما عطاني ذا الامر فوق ذذ

edit :

addEventHandler( "onClientRender", root, 
dx = function() 
local x, y = guiGetScreenSize ( ) 
local x = x - 752 
local y = y - 90 
 dxDrawText ( text, x/2, y/2, 752, 90, tocolor ( 255, 255, 0, 255 ), size, lbn ) 
end 
local lbn = dxCreateFont( "RaYaN.ttf", 6 ) 

يصير كذا طيب

Posted

ناقص قوس

addEventHandler( "onClientRender", root, 
function() 
local x, y = guiGetScreenSize ( ) 
local x = x - 752 
local y = y - 90 
 dxDrawText ( text, x/2, y/2, 752, 90, tocolor ( 255, 255, 0, 255 ), size, lbn ) 
local lbn = dxCreateFont( "RaYaN.ttf", 6 ) 
end) 

Sha67 سابقاً

Posted
ناقص قوس

addEventHandler( "onClientRender", root, 
function() 
local x, y = guiGetScreenSize ( ) 
local x = x - 752 
local y = y - 90 
 dxDrawText ( text, x/2, y/2, 752, 90, tocolor ( 255, 255, 0, 255 ), size, lbn ) 
local lbn = dxCreateFont( "RaYaN.ttf", 6 ) 
end) 

^ Wrong ..

-- Client Side # 
local lbn = dxCreateFont( "RaYaN.ttf", 6 ) 
local text = "test" 
local size = 4 
  
addEventHandler ( "onClientRender", root, 
    function ( ) 
        local xx, yy = guiGetScreenSize ( ) 
        local x = xx - 752 
        local y = yy - 90 
        dxDrawText ( text, x/2, y/2, 752, 90, tocolor ( 255, 255, 0, 255 ), size, lbn ) 
    end 
) 

Posted

^ أولا انت بقسم عربي لا تسوي انجليزي وتتفلسف ,

+ هو حط الاختصارات فوق size ,

وطرح الكود بدونها وسويته يعني لو يركبه على الي فوق بيشتغل ,

Sha67 سابقاً

Posted
^ أولا انت بقسم عربي لا تسوي انجليزي وتتفلسف ,

+ هو حط الاختصارات فوق size ,

وطرح الكود بدونها وسويته يعني لو يركه على الي فوق بيشتغل ,

بإختصار شديد ، وبدون هياط زايد ؛ كودكـ غلط ..

Posted (edited)

من الخط حقك نفسه,

+ كودي موب خطأ , لو تركبه على الي فوق, يضبط,

local text = "test" 
local size = 4  
addEventHandler( "onClientRender", root, 
function() 
local x, y = guiGetScreenSize ( ) 
local x = x - 752 
local y = y - 90 
 dxDrawText ( text, x/2, y/2, 752, 90, tocolor ( 255, 255, 0, 255 ), size, lbn ) 
local lbn = dxCreateFont( "RaYaN.ttf", 6 ) 
end) 
Edited by Guest

Sha67 سابقاً

Posted

الغلط عندهـ كان بس انة مسوي الخط بـ الرندر ولا عادي تلقاهـ هو من قبل مسوي اصلا اختصارات

  

Posted
من الخط حقك نفسه,

مهو من الخط ..

ضبط كود كنق

لكن الخط ليهه شكله معوق

iFIW7.png

dxلأنه أنت مسوي الخط بـ

Posted
من الخط حقك نفسه,

مهو من الخط ..

ضبط كود كنق

لكن الخط ليهه شكله معوق

iFIW7.png

dxلأنه أنت مسوي الخط بـ

:lol: طيب ما اشوف له اي فايدة ذا الفكشن الخط العادي اطلق

Posted
لو تسوي خط انجليزي يجي صح ذذ

^جربتها ع خط انجليزي

ZgMKy.png

برضو ابو كلب بس احسن من العربي

edit:

خلاص تم الافادة

شكرا للردو :roll:

Posted

math.random(255)

:roll:

" Keep Thinking Different . " - Steve Jops

--------------------

Don't send me PMs asking for help, I Won't reply !

Posted

مايحتاج تايمر

local lbn = dxCreateFont( "RaYaN.ttf", 6 ) 
local text = "test" 
local size = 4 
  
  
dx = function ( ) 
        local xx, yy = guiGetScreenSize ( ) 
        local x = xx - 752 
        local y = yy - 90 
        dxDrawText ( text, x/2, y/2, 752, 90, tocolor ( math.random(255,0), math.random(255,0), math.random(255,0), 255 ), size, lbn ) 
    end 
addEventHandler ( "onClientRender", root, dx ) 

663532382.png
Posted
مايحتاج تايمر
local lbn = dxCreateFont( "RaYaN.ttf", 6 ) 
local text = "test" 
local size = 4 
  
  
dx = function ( ) 
        local xx, yy = guiGetScreenSize ( ) 
        local x = xx - 752 
        local y = yy - 90 
        dxDrawText ( text, x/2, y/2, 752, 90, tocolor ( math.random(255,0), math.random(255,0), math.random(255,0), 255 ), size, lbn ) 
    end 
addEventHandler ( "onClientRender", root, dx ) 

ما اشتغل

Posted

إطرحلي الكود إللي معك لآهنت

" Keep Thinking Different . " - Steve Jops

--------------------

Don't send me PMs asking for help, I Won't reply !

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