سلام عليكم ياعيال عندي اكواد العاجل هاد ابي اسويه علا خط معين من عندي بس مش راضي يصير محاولتي
MMHHMM = guiCreateFont( "هنا اسم ملف الخط.ttf", )
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_" ) == "1" ) then
setElementData ( resourceRoot, "Have_", false )
else
dxDrawText( "#FFBC00{ #FFBC00".. getElementData ( resourceRoot, "By_" ) .." #FFBC00} #FFFFFF : " .. getElementData ( resourceRoot, "Msg_" ), 17, 289, 251, 310, tocolor(255, 255, 255, 255), 1.4, "MMHHMM", "left", "top", false, false, false, true, false )
end
end
end)
bindKey("N", "down", "chatbox","BlackArabsMsg")