MR_Mahmoud Posted March 10, 2017 Share Posted March 10, 2017 سلام عليكم ياعيال عندي اكواد العاجل هاد ابي اسويه علا خط معين من عندي بس مش راضي يصير محاولتي 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") Link to comment
Ahmed Ly Posted March 10, 2017 Share Posted March 10, 2017 MMHHMM = dxCreateFont( "هنا اسم ملف الخط.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") Link to comment
MR_Mahmoud Posted March 10, 2017 Author Share Posted March 10, 2017 8 minutes ago, Ahmed Ly said: MMHHMM = dxCreateFont( "هنا اسم ملف الخط.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") اخي ماعاد يكتب عاجل طاول Link to comment
a7zan Posted March 11, 2017 Share Posted March 11, 2017 تأكد انك ضفت الخط بالميتا ;-; Link to comment
MR_Mahmoud Posted March 11, 2017 Author Share Posted March 11, 2017 7 hours ago, a7zan said: تأكد انك ضفت الخط بالميتا ;-; يب اكيد ضفته Link to comment
MR_Mahmoud Posted March 11, 2017 Author Share Posted March 11, 2017 2 minutes ago, #BrosS said: debugscript 3 شوي اسويه واصور شاشة Link to comment
MR_Mahmoud Posted March 11, 2017 Author Share Posted March 11, 2017 (edited) 27 minutes ago, #BrosS said: debugscript 3 @ #BrosS Edited March 11, 2017 by MR_Mahmoud Link to comment
Ahmed Ly Posted March 11, 2017 Share Posted March 11, 2017 MMHHMM = dxCreateFont( "هنا اسم ملف الخط.ttf",9) 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") Link to comment
MR_Mahmoud Posted March 11, 2017 Author Share Posted March 11, 2017 5 minutes ago, Ahmed Ly said: MMHHMM = dxCreateFont( "هنا اسم ملف الخط.ttf",9) 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") مشكور يالغالي تمت الأفادة 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