Adham Posted April 4, 2016 Share Posted April 4, 2016 (edited) سلام عليكم عملت لوحه سبورت سيستم لاكن ما شتغلت كلنت Edited April 4, 2016 by Guest Link to comment
Adham Posted April 4, 2016 Author Share Posted April 4, 2016 مش بيعمل send ومش شغال لاكن تفتح عادي Link to comment
Me[Z]oO Posted April 4, 2016 Share Posted April 4, 2016 مش بيعمل sendومش شغال لاكن تفتح عادي شغل الدي بق 3 بعدين دوس الزر وصور وش يظهر Link to comment
#|_oskar_|# Posted April 4, 2016 Share Posted April 4, 2016 تعرف ليش مايرسل الكلام لانك مقفل ع اللوحه بالحدث حق الستارت onClientResourceStart -- ذا لو شلته بيضبط معك ان شاء الله Link to comment
Adham Posted April 4, 2016 Author Share Posted April 4, 2016 (edited) ما فتحت اللوحه اصلن Edited April 4, 2016 by Guest Link to comment
#|_oskar_|# Posted April 4, 2016 Share Posted April 4, 2016 سطر 45 + 46 اند + قوس زياده امسحهم وروح شغل اللوحه Link to comment
Adham Posted April 4, 2016 Author Share Posted April 4, 2016 شكرا لك. بس لو عاوز اليبعت رساله يضعط send والرساله تيجي في القريد لست تتمسح من الديت Link to comment
Adham Posted April 4, 2016 Author Share Posted April 4, 2016 طيب الكود دا انا عاوز يكون لون اخضر كل اللاعبين حطيط الكود لونو برده ابيض function update () guiGridListClear(GUIEditor.gridlist[2]) for i,v in ipairs (getElementsByType("player")) do local rp = guiGridListAddRow (GUIEditor.gridlist[2]) guiGridListSetItemText (GUIEditor.gridlist[2],rp,1,getPlayerName(v),false,false) guiGridListSetItemColor(GUIEditor.gridlist[2],rp, 2, 35, 254, 0, 255,false,false) end end addEventHandler ("onClientResourceStart",resourceRoot,update) addEventHandler ("onClientPlayerJoin",root,update) addEventHandler ("onClientPlayerChangeNick",root,update) addEventHandler ("onClientPlayerQuit",root,update) Link to comment
YourMind Posted April 4, 2016 Share Posted April 4, 2016 guiGridListSetItemColor(GUIEditor.gridlist[2],rp, 1, 35, 254, 0, 255,false,false) Link to comment
Adham Posted April 4, 2016 Author Share Posted April 4, 2016 مشكور طيب بس استفسار تاني انا عاوز الكوا متظهرش لما في القريد لست اسمي مثلن #000000[L]e3bA بيجلي اسمي كدا #0000000[L]e3bA انا عاوز الاسم ميجيش ب الاكواد Link to comment
iMr.WiFi..! Posted April 4, 2016 Share Posted April 4, 2016 يعني تبي الاسم يتلون او تجيب كود اللون حق اللاعب ؟ Link to comment
YourMind Posted April 4, 2016 Share Posted April 4, 2016 function getFixedName(player) if isElement(player) then local hisName = getPlayerName(player) if hisName then result = string.gsub(hisName, '#%x%x%x%x%x%x', '') if result then return result end end end end function update () guiGridListClear(GUIEditor.gridlist[2]) for i,v in ipairs (getElementsByType("player")) do local rp = guiGridListAddRow (GUIEditor.gridlist[2]) guiGridListSetItemText (GUIEditor.gridlist[2],rp,1,getFixedName(v),false,false) guiGridListSetItemColor(GUIEditor.gridlist[2],rp,1, 35, 254, 0, 255,false,false) end end addEventHandler ("onClientResourceStart",resourceRoot,update) addEventHandler ("onClientPlayerJoin",root,update) addEventHandler ("onClientPlayerChangeNick",root,update) addEventHandler ("onClientPlayerQuit",root,update) عايزه من غير اللوان Link to comment
#|_oskar_|# Posted April 4, 2016 Share Posted April 4, 2016 يخفي اكواد الالوان getPlayerName(v):gsub("#%x%x%x%x%x%x", "") Link to comment
Adham Posted April 4, 2016 Author Share Posted April 4, 2016 طيب والكود دا addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text) local gg = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,Name, false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 2,tostring(Text), false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 35, 254, 0, 255) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : #00FF00"..guiGetText(GUIEditor.edit[1]),255,255,0,true) end end) عاوز اليبعت رساله يكون الون اخضر يعني بيجي الاسم اخضر عادي و Message بتيجي ابيض Link to comment
Adham Posted April 30, 2016 Author Share Posted April 30, 2016 بيقلي المشكله هنا guiGridListSetItemText (GUIEditor.gridlist[1],rw,1," "..oldNick.." is now known as "..newNick..",false,false) http://b.top4top.net/p_120fjc61.png Link to comment
billal Posted April 30, 2016 Share Posted April 30, 2016 guiGridListSetItemText (GUIEditor.gridlist[1],rw,1," "..oldNick.." is now known as "..newNick..",255,255,255) 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