Master_MTA Posted November 10, 2016 Share Posted November 10, 2016 شباب انا جاني شي وش الخطا هنا ابيه لما يدوس انتر برضو يرسل نفس الفانكشن addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function (Name,Text) local gg = guiGridListAddRow(GUIEditor.gridlist[1]) local msa = guiRadioButtonGetSelected(GUIEditor.radiobutton[134]) local msa1 = guiRadioButtonGetSelected(GUIEditor.radiobutton[1]) local msa12 = guiRadioButtonGetSelected(GUIEditor.radiobutton[3]) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) and (msa == true ) then outputChatBox("[Support-System] : ["..Name.."] : "..Text,client,255,255,0,true) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,"**[ Admin ] :", false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 2,Name, false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 3,tostring(Text), false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 2,232,240,14, 255) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 3,232,240,14, 255) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1,232,240,14, 255) elseif ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) and (msa1 == true ) then outputChatBox("[Support-System] : ["..Name.."] : "..Text,255,255,0,true) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,"**[ Player ] :", false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 2,Name, false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 3,tostring(Text), false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 2, 255, 0, 0, 255) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 3, 255, 0, 0, 255) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1,255, 0, 0, 255) elseif ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) and (msa12 == true ) then outputChatBox("[Support-System] : ["..Name.."] : "..Text,client,255,255,0,true) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,"**[ Support ] :", false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 2,Name, false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 3,tostring(Text), false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 2,35, 254, 0, 255) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 3,35, 254, 0, 255) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1,35, 254, 0, 255) elseif (guiRadioButtonGetSelected(GUIEditor.radiobutton[1]) == true)then guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,"**[ Player ] :", false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 2,Name, false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 3,tostring(Text), false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 2, 255, 0, 0, 255) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 3, 255, 0, 0, 255) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1,255, 0, 0, 255) elseif(guiRadioButtonGetSelected(GUIEditor.radiobutton[3]) == true) then guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,"**[ Support ] :", false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 2,Name, false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 3,tostring(Text), false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 2,35, 254, 0, 255) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 3,35, 254, 0, 255) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1,35, 254, 0, 255) elseif(guiRadioButtonGetSelected(GUIEditor.radiobutton[134]) == true) then guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,"**[ Admin ] :", false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 2,Name, false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 3,tostring(Text), false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 2,232,240,14, 255) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 3,232,240,14, 255) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1,232,240,14, 255) elseif (guiRadioButtonGetSelected(GUIEditor.radiobutton[134]) == false) and (guiRadioButtonGetSelected(GUIEditor.radiobutton[3]) == false) and (guiRadioButtonGetSelected(GUIEditor.radiobutton[134]) == false) then outputChatBox("الرجاء حدد اذا كنت لاعبا ام ماذا",client,255,255,255) end end) بس الاكواد مش زابطه Link to comment
!#NssoR_) Posted November 10, 2016 Share Posted November 10, 2016 onClientGUIAccepted Link to comment
Master_MTA Posted November 10, 2016 Author Share Posted November 10, 2016 15 minutes ago, !#NssoR_) said: onClientGUIAccepted يب اخوي بس كل ما حاولت استخدمه يطلعلي النص nil مازبط + مو بس كذا الكود مو مزبوط يا اخوي ومشكور على مرورك واسف متعبك Link to comment
Master_MTA Posted November 11, 2016 Author Share Posted November 11, 2016 20 hours ago, Default said: طيب اطرح محاولاتك .. مشكور اخوي حليت المشكله Link to comment
' A F . Posted November 11, 2016 Share Posted November 11, 2016 العفو حياك الله في اي وقت .. 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