abdalaziz Posted March 15, 2018 Share Posted March 15, 2018 مرحبا انا عندي مود عاجل واريد اني احط اله خط بس مو عارف ممكن حدا يسوي لي؟ الاكواد 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
Ram, Posted March 15, 2018 Share Posted March 15, 2018 حياك الله .. تفضل يخوي . 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") 1 Link to comment
abdalaziz Posted March 15, 2018 Author Share Posted March 15, 2018 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
abdalaziz Posted March 15, 2018 Author Share Posted March 15, 2018 Just now, AbU - W6N said: بلتوفيق . اشتغل حبيبي والله مو عارف وش اقول Link to comment
Ram, Posted March 15, 2018 Share Posted March 15, 2018 Just now, abdalaziz said: اشتغل حبيبي والله مو عارف وش اقول رضاك يكفيني . 2 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now