#1Topro Posted June 17, 2016 Share Posted June 17, 2016 السلام عليكم انا عندي مود المود بيفتح بحرف كيف اخليه بكلمة ؟ هو مود عاجل أبي كلمة باف 8 واكتب جنبها وكلمة تمسح العاجل ممكن رد ؟؟ Link to comment
#1Topro Posted June 17, 2016 Author Share Posted June 17, 2016 معرفتش ^ ممكن احد يقول لي الكود معدل ؟ اسف اصلي مبتدأ ^^ Link to comment
#1Topro Posted June 17, 2016 Author Share Posted June 17, 2016 (edited) -- Edited June 17, 2016 by Guest Link to comment
Mostafa MohammeD Posted June 17, 2016 Share Posted June 17, 2016 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
` Allawi Posted June 17, 2016 Share Posted June 17, 2016 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
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