Jump to content

مساعدة الرجاء الرد


Recommended Posts

استخدم

FontNew = guiCreateFont( "font.ttf", 20 )-- حط مسار الخط وبدل 20 بحجم الخط الا تبيه

guiSetFont(labelName, FontNew) --- لا تنسا تبدل كلمة labelName في اسم الشي الا تبي تغير خطه

<file src="font.ttf" /> -- لا تنسا تحط هاذا في meta

 

ملاحظة القسم الخطأ

Edited by MR.Mosa
Link to comment
Just now, Mr-MohameD said:

اخي اذا سمحت اعطيني مود عاجل فيه خط جميل جدا

 

الله يحفضك 

 

good !!!!!!

اخوي انا صراحة مالي في الدي اكس

لاكون اتوقع يسوينه بهاذا الشكل

            dxDrawText( "dxDrawText", 100, 350, 300, 350, tocolor(255,255,0), 1, myFont ) 
            myFont = dxCreateFont( "segoeui.ttf", 20 ) --- لا تنسا تحط مسار الخط

جرب وقولي

وهاذا مود العاجل انا ناشره زمان يمكن يعجبك

 

 

Link to comment

اخوي ماحد راح يسوي لك مود العاجل من الصفر بدون مقابل , 

فيه مودات كثيرة عاجل ابحث عنها وحط عليه خط حاول حتى لو ماتعرف معطينك الطريقة فوق 

ولو حاولت ومانجحت اطرح اكوادك هنا ونساعدك بأذن الله :)

Link to comment

local sX, sY = guiGetScreenSize ()

addEventHandler("onClientRender", root, function ()
    if ( getElementData ( resourceRoot, "Have_" ) == true ) then
        local Lines = getChatboxLayout ()["chat_lines"]
        if ( Lines <= 10 ) then
            Lines = Lines + 1
        elseif ( Lines >= 20 ) then
            Lines = Lines - 1
        else
            Lines = Lines
        end
        if ( getElementData ( resourceRoot, "Msg_" ) == "delete" ) then
            setElementData ( resourceRoot, "Have_", false )
        else
         dxDrawBorderedText ( "[ Admin ]:" .. getElementData ( resourceRoot, "Msg_" ).. "", 21, 185, 148, 203, tocolor(255, 255, 255, 255), 1.50, "default", "left", "top", true, false, true, true, true)
        end
    end
end)
bindKey("n", "down", "chatbox","AdminSay")

function dxDrawBorderedText ( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, color2 )
    local wh = 1
    local msg_gsub = text:gsub ( '#%x%x%x%x%x%x', '' )
    dxDrawText ( msg_gsub, x - wh, y - wh, w - wh, h - wh, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false ) -- black
    dxDrawText ( msg_gsub, x + wh, y - wh, w + wh, h - wh, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( msg_gsub, x - wh, y + wh, w - wh, h + wh, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( msg_gsub, x + wh, y + wh, w + wh, h + wh, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( msg_gsub, x - wh, y, w - wh, h, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( msg_gsub, x + wh, y, w + wh, h, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( msg_gsub, x, y - wh, w, h - wh, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( msg_gsub, x, y + wh, w, h + wh, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, color2 )
end

هادي كودات العاجل

وبدي تكون دي الكودات بهدا الخط

https://up.top4top.net/downloadf-808adw5k1-zip.html 

 

Link to comment
  • 3 weeks later...
local sX, sY = guiGetScreenSize ()

addEventHandler("onClientRender", root, function ()
    if ( getElementData ( resourceRoot, "Have_" ) == true ) then
        local Lines = getChatboxLayout ()["chat_lines"]
        if ( Lines <= 10 ) then
            Lines = Lines + 1
        elseif ( Lines >= 20 ) then
            Lines = Lines - 1
        else
            Lines = Lines
        end
        if ( getElementData ( resourceRoot, "Msg_" ) == "delete" ) then
            setElementData ( resourceRoot, "Have_", false )
        else
         dxDrawBorderedText ( "[ Admin ]:" .. getElementData ( resourceRoot, "Msg_" ).. "", 21, 185, 148, 203, tocolor(255, 255, 255, 255), 1.50, "default", "left", "top", true, false, true, true, true)
        end
    end
end)
bindKey("n", "down", "chatbox","AdminSay")

function dxDrawBorderedText ( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, color2 )
    local wh = 1
    local msg_gsub = text:gsub ( '#%x%x%x%x%x%x', '' )
    dxDrawText ( msg_gsub, x - wh, y - wh, w - wh, h - wh, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false ) -- black
    dxDrawText ( msg_gsub, x + wh, y - wh, w + wh, h - wh, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( msg_gsub, x - wh, y + wh, w - wh, h + wh, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( msg_gsub, x + wh, y + wh, w + wh, h + wh, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( msg_gsub, x - wh, y, w - wh, h, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( msg_gsub, x + wh, y, w + wh, h, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( msg_gsub, x, y - wh, w, h - wh, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( msg_gsub, x, y + wh, w, h + wh, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
    dxDrawText ( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, color2 )
end

ايش تبي بزبط فالعاجل ؟

Link to comment
  • 1 month later...

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