Jump to content

Question


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 >= 20 ) then 
            Lines = Lines - 1 
        else 
            Lines = Lines 
        end 
        if ( getElementData ( resourceRoot, "Msg_" ) == "delete" ) then 
            setElementData ( resourceRoot, "Have_", false ) 
        else 
            dxDrawText ( "#cccccc# - [ #555555Admin#cccccc ] :  [ ".. getElementData ( resourceRoot, "By_" ) .." #cccccc] #FFFFFF: " .. getElementData ( resourceRoot, "Msg_" ).. "", sX * 0.02, sY * 0.03 * Lines , sX, sY, tocolor ( 0,100,255,255,1 ), 1, "default-bold", "left", "top", false, false, false, true, false ) 
        end 
    end 
end) 
bindKey("n", "down", "chatbox","AdminMsg") 

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 
            dxDrawText ( "#cccccc# - [ #555555Admin#cccccc ] :  [ ".. getElementData ( resourceRoot, "By_" ) .." #cccccc] #FFFFFF: " .. getElementData ( resourceRoot, "Msg_" ).. "", sX * 0.02, sY * 0.03 * Lines , sX, sY, tocolor ( 0,100,255,255,1 ), 1, "default-bold", "left", "top", false, false, false, true, false ) 
        end 
    end 
end) 
addCommandHandler("3agl", chatbox, AdminMsg) 

جرب هيك

اكتب في اف 8 كلمة

3agl

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 
            dxDrawText ( "#cccccc# - [ #555555Admin#cccccc ] :  [ ".. getElementData ( resourceRoot, "By_" ) .." #cccccc] #FFFFFF: " .. getElementData ( resourceRoot, "Msg_" ).. "", sX * 0.02, sY * 0.03 * Lines , sX, sY, tocolor ( 0,100,255,255,1 ), 1, "default-bold", "left", "top", false, false, false, true, false ) 
        end 
    end 
end) 
addCommandHandler("3agl", chatbox, AdminMsg) 

جرب هيك

اكتب في اف 8 كلمة

3agl

XX

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 
            dxDrawText ( "#cccccc# - [ #555555Admin#cccccc ] :  [ ".. getElementData ( resourceRoot, "By_" ) .." #cccccc] #FFFFFF: " .. getElementData ( resourceRoot, "Msg_" ).. "", sX * 0.02, sY * 0.03 * Lines , sX, sY, tocolor ( 0,100,255,255,1 ), 1, "default-bold", "left", "top", false, false, false, true, false ) 
        end 
    end 
end) 

AdminMsg F8 اكتب في والكلام اللي تبيه

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