Jump to content

؟


z24d

Recommended Posts

السلام عليكم

عندي هذا المود حملته لكن مشكلته يطلعلي الخط مو واضح يعني موشوش ليش؟

local x, y = guiGetScreenSize() 
local Rows = {} 
local R = 0 
  
function outputClient(text, r, g, b) 
    local r = r or 255 
    local g = g or 255 
    local b = b or 255 
    local color = tocolor(r, g, b, 255) 
    R = R + 17 
    table.insert(Rows, {text, color, R}) 
    setTimer(function() 
        setTimer(function() 
            if R > 0 then 
                R = R - 1.0 
                for i, row in pairs(Rows) do 
                    Rows[i] = {row[1], row[2], row[3] - 1.0} 
                    if row[3] <= 0 then 
                        table.remove(Rows, i) 
                    end 
                end 
            end 
        end, 50, 17) 
    end, 10000, 1) 
end 
addEvent("calloutputClient", true) 
addEventHandler("calloutputClient", root, outputClient) 
  
function drawRows() 
    dxDrawRectangle((x - 550)/2, 0, 600, R, tocolor(0, 0, 0, 250)) 
    for i, row in pairs(Rows) do 
        dxDrawText(row[1], (x - 540)/2, row[3] - 20, (x - 600) / 2 + 600, row[3], row[2], 1.0, "default-bold", "center", "center", true, false, false, true, true) 
    end 
end 
addEventHandler("onClientPreRender", root, drawRows) 

WTISPRBLM?

Link to comment
default-bold 

خليها

default-bold-small 

default-bold-small خطوط الدي اكس مافيها خط اسمه

function drawRows() 
    dxDrawRectangle((x - 550)/2, 0, 600, R, tocolor(0, 0, 0, 250)) 
    for i, row in pairs(Rows) do 
        dxDrawText( row[1], (x - 540)/2, row[3] - 20, (x - 600) / 2 + 600, row[3], row[2], 1.0, "default-bold", "center", "center", false, false, false, true, false ) 
    end 
end 
addEventHandler("onClientPreRender", root, drawRows) 

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