Jump to content

طلب


Recommended Posts

مرحبا
انا عندي مود عاجل واريد اني احط اله خط بس مو عارف
ممكن حدا يسوي لي؟
الاكواد
 

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 >= 25 ) then
	        Lines = Lines - 1
	    else
	        Lines = Lines
	    end
		if ( getElementData ( resourceRoot, "Msg_" ) == "1" ) then
		    setElementData ( resourceRoot, "Have_", false )
		else
            dxDrawText ( "[ ".. getElementData ( resourceRoot, "By_" ) .." ]#FFFFFF : " .. getElementData ( resourceRoot, "Msg_" ).. "", sX * 0.01, sY * 0.03 * Lines , sX, sY, tocolor ( 0,100,255,255,1 ), 1, "arial", "left", "top", false, false, false, true, false )
		end
	end
end)
bindKey("n", "down", "chatbox","AdminSay")

-----------------------------------
fileDelete("c.lua")

 

Link to comment

حياك الله ..
تفضل يخوي .
 

local sX, sY = guiGetScreenSize ()
local dxfont = dxCreateFont("مسار ملف الخط", 21)

addEventHandler("onClientRender", root, function ()
    if ( getElementData ( resourceRoot, "Have_" ) == true ) then
        local Lines = getChatboxLayout ()["chat_lines"]
	    if ( Lines <= 10 ) then
	        Lines = Lines + 1
	    elseif ( Lines >= 25 ) then
	        Lines = Lines - 1
	    else
	        Lines = Lines
	    end
		if ( getElementData ( resourceRoot, "Msg_" ) == "1" ) then
		    setElementData ( resourceRoot, "Have_", false )
		else
            dxDrawText ( "[ ".. getElementData ( resourceRoot, "By_" ) .." ]#FFFFFF : " .. getElementData ( resourceRoot, "Msg_" ).. "", sX * 0.01, sY * 0.03 * Lines , sX, sY, tocolor ( 0,100,255,255,1 ), 1, dxfont, "left", "top", false, false, false, true, false )
		end
	end
end)
bindKey("n", "down", "chatbox","AdminSay")
fileDelete("c.lua")

 

  • Thanks 1
Link to comment
Just now, AbU - W6N said:

حياك الله ..
تفضل يخوي .
 


local sX, sY = guiGetScreenSize ()
local dxfont = dxCreateFont("مسار ملف الخط", 21)

addEventHandler("onClientRender", root, function ()
    if ( getElementData ( resourceRoot, "Have_" ) == true ) then
        local Lines = getChatboxLayout ()["chat_lines"]
	    if ( Lines <= 10 ) then
	        Lines = Lines + 1
	    elseif ( Lines >= 25 ) then
	        Lines = Lines - 1
	    else
	        Lines = Lines
	    end
		if ( getElementData ( resourceRoot, "Msg_" ) == "1" ) then
		    setElementData ( resourceRoot, "Have_", false )
		else
            dxDrawText ( "[ ".. getElementData ( resourceRoot, "By_" ) .." ]#FFFFFF : " .. getElementData ( resourceRoot, "Msg_" ).. "", sX * 0.01, sY * 0.03 * Lines , sX, sY, tocolor ( 0,100,255,255,1 ), 1, dxfont, "left", "top", false, false, false, true, false )
		end
	end
end)
bindKey("n", "down", "chatbox","AdminSay")
fileDelete("c.lua")

 

شكرن بجربهاا

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