Master_MTA Posted November 30, 2016 Share Posted November 30, 2016 سلام عليكم شباب ابي افهم بس وش الخطا هنا جاني شلل نصفي+_+ kkmmp = guiGridListAddColumn(GUIEditor.gridlist[3], "Titel", 0.3) kkmmp2 = guiGridListAddColumn(GUIEditor.gridlist[3], "Masseg", 0.7) elseif ( source == delebtn ) then local s0101 = guiGridListGetSelectedItem ( GUIEditor.gridlist[3] ) guiGridListSetItemText (GUIEditor.gridlist[3],s0101,kkmmp,"", false,false) guiGridListSetItemText (GUIEditor.gridlist[3],s0101,kkmmp2,"Message Deleted By"..getPlayerName(localPlayer)..".", false,false) Link to comment
Master_MTA Posted November 30, 2016 Author Share Posted November 30, 2016 1 hour ago, [6ArH]#~Ecoo~ said: شو الخطا ؟ ما يتغير النص للاسف #Edit: الو شباب Link to comment
Ahmed Ly Posted November 30, 2016 Share Posted November 30, 2016 kkmmp = guiGridListAddColumn(GUIEditor.gridlist[3], "Titel", 0.3) kkmmp2 = guiGridListAddColumn(GUIEditor.gridlist[3], "Masseg", 0.7) addEventHandler("onClientGUIClick",root, function if ( source == delebtn ) then local s0101 = guiGridListGetSelectedItem ( GUIEditor.gridlist[3] ) guiGridListSetItemText(GUIEditor.gridlist[3],s0101,kkmmp,"", false,false) guiGridListSetItemText(GUIEditor.gridlist[3],s0101,kkmmp2,"Message Deleted By"..getPlayerName(localPlayer)..".", false,false) end end ) Link to comment
Master_MTA Posted November 30, 2016 Author Share Posted November 30, 2016 (edited) 17 minutes ago, Ahmed Ly said: kkmmp = guiGridListAddColumn(GUIEditor.gridlist[3], "Titel", 0.3) kkmmp2 = guiGridListAddColumn(GUIEditor.gridlist[3], "Masseg", 0.7) addEventHandler("onClientGUIClick",root, function if ( source == delebtn ) then local s0101 = guiGridListGetSelectedItem ( GUIEditor.gridlist[3] ) guiGridListSetItemText(GUIEditor.gridlist[3],s0101,kkmmp,"", false,false) guiGridListSetItemText(GUIEditor.gridlist[3],s0101,kkmmp2,"Message Deleted By"..getPlayerName(localPlayer)..".", false,false) end end ) خطا اخي شباب هل استخدم لوب او شي؟ @3NAD @iPrestege Edited November 30, 2016 by Master_MTA Link to comment
^iiEcoo'x_) Posted November 30, 2016 Share Posted November 30, 2016 (edited) guiGridListClear ( Gridlist ) الي فهمته انك بدك تمسح بدله بسطر 7 Edited November 30, 2016 by [6ArH]#~Ecoo~ Link to comment
Master_MTA Posted November 30, 2016 Author Share Posted November 30, 2016 40 minutes ago, [6ArH]#~Ecoo~ said: guiGridListClear ( Gridlist ) الي فهمته انك بدك تمسح بدله بسطر 7 حبيبي مش عايز امسح الجريد لست كامل انا فقط عايز اغير الكلام اللي في الاتيم المتحدد Link to comment
Mr.CoR Posted November 30, 2016 Share Posted November 30, 2016 تأكد من اسامي المتغيرات حقت القريدليست والكولمن وتأكد انك محدد الرو يوم تضغط الزر وبرضو تأكد من متغير الزر وجرب اكتب في اف ٨ debugscript 3 ثم سوي ريفرش للمود اذا طلع لك كلام تحت صوره Link to comment
Master_MTA Posted December 1, 2016 Author Share Posted December 1, 2016 15 hours ago, Mr.CoR said: تأكد من اسامي المتغيرات حقت القريدليست والكولمن وتأكد انك محدد الرو يوم تضغط الزر وبرضو تأكد من متغير الزر وجرب اكتب في اف ٨ debugscript 3 ثم سوي ريفرش للمود اذا طلع لك كلام تحت صوره مافي اي شي بالدي بق Link to comment
N3xT Posted December 1, 2016 Share Posted December 1, 2016 addEventHandler("onClientGUIClick", root, function () if ( source == delebtn ) then local row = guiGridListGetSelectedItem ( GUIEditor.gridlist[3] ) guiGridListSetItemText(GUIEditor.gridlist[3],row,kkmmp,"", false,false) guiGridListSetItemText(GUIEditor.gridlist[3],row,kkmmp2,"Message Deleted By"..getPlayerName(localPlayer)..".", false,false) end end ) Link to comment
Master_MTA Posted December 2, 2016 Author Share Posted December 2, 2016 (edited) On ١/١٢/٢٠١٦ at 5:06 PM, N3xT said: addEventHandler("onClientGUIClick", root, function () if ( source == delebtn ) then local row = guiGridListGetSelectedItem ( GUIEditor.gridlist[3] ) guiGridListSetItemText(GUIEditor.gridlist[3],row,kkmmp,"", false,false) guiGridListSetItemText(GUIEditor.gridlist[3],row,kkmmp2,"Message Deleted By"..getPlayerName(localPlayer)..".", false,false) end end ) تفضلو الكود كامل addEventHandler("onClientGUIClick",root,function () if ( source == GUIEditor.button[2] ) then guiSetVisible(report_wnd,true) guiSetVisible(wnd,false) guiSetVisible(senddddddddddddddddddddd,true) guiMemoSetReadOnly(meeeeeeemooooo,false) guiEditSetReadOnly(enwan,false) showCursor(true) elseif ( source == noooooooooooooooooooooo ) then guiSetVisible(report_wnd,false) guiSetVisible(wnd,true) elseif ( source == delebtn ) then local s0101 = guiGridListGetSelectedItem ( GUIEditor.gridlist[3] ) guiGridListSetItemText(GUIEditor.gridlist[3],s0101,kkmmp,"", false,false) guiGridListSetItemText(GUIEditor.gridlist[3],s0101,kkmmp2,"Message Deleted By"..getPlayerName(localPlayer)..".", false,false) elseif ( source == xdelete ) then guiSetVisible(delewnd,false) guiSetAlpha(wnd,0.80) elseif ( source == senddddddddddddddddddddd ) then local Text = guiGetText(enwan) local Text2 = guiGetText(meeeeeeemooooo) local rw12 = guiGridListAddRow (GUIEditor.gridlist[3]) guiGridListSetItemText (GUIEditor.gridlist[3],rw12,kkmmp,Text, false,false) guiGridListSetItemText (GUIEditor.gridlist[3],rw12,kkmmp2,Text2, false,false) guiSetVisible(report_wnd,false) guiSetVisible(wnd,true) guiSetText(enwan,"") guiSetText(meeeeeeemooooo,"") elseif (source == GUIEditor.button[3])then local mmm = guiGridListGetSelectedItem(GUIEditor.gridlist[3]) guiGridListRemoveRow ( GUIEditor.gridlist[3], mmm ) guiSetVisible(report_wnd,false) guiSetVisible(wnd,true) elseif ( source == GUIEditor.button[4123] ) then local sasdh = guiGridListGetItemText ( GUIEditor.gridlist[3], guiGridListGetSelectedItem(GUIEditor.gridlist[3]), kkmmp ) local sasdh1 = guiGridListGetItemText ( GUIEditor.gridlist[3], guiGridListGetSelectedItem(GUIEditor.gridlist[3]), kkmmp2 ) guiSetVisible(report_wnd,true) guiSetVisible(wnd,false) guiSetVisible(senddddddddddddddddddddd,false) guiMemoSetReadOnly(meeeeeeemooooo,true) guiEditSetReadOnly(enwan,true) showCursor(guiSetVisible(report_wnd)) guiSetText(enwan,sasdh) guiSetText(meeeeeeemooooo,sasdh1) elseif (source == GUIEditor.button[1])then local msa1 = guiRadioButtonGetSelected(GUIEditor.radiobutton[1]) local msa12 = guiRadioButtonGetSelected(GUIEditor.radiobutton[3]) local msa13 = guiCheckBoxGetSelected( GUIEditor.checkbox[2]) local gg = guiGridListAddRow(GUIEditor.gridlist[1]) if getElementData (localPlayer,"MUTED") then return guiGridListSetItemText(GUIEditor.gridlist[1],gg, 2,"You are muted.", false, false) end if (msa==false)and (msa1==false) and (msa12==false)then outputChatBox("Please Select Your Rank",255,255,0,true) return end if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText(GUIEditor.edit[1],"") else outputChatBox("Please Write Any Thing",255,255,255,true) end end end) Edited December 2, 2016 by Master_MTA Link to comment
Master_MTA Posted December 2, 2016 Author Share Posted December 2, 2016 مشكورين شباب حليتها كان خطا اني حاطط 3 وهي 1 ض1 Link to comment
Mr.CoR Posted December 3, 2016 Share Posted December 3, 2016 قلت لك تأكد من اسامي المتغيرات لان اكوادك صحيحه 100% Link to comment
Master_MTA Posted December 3, 2016 Author Share Posted December 3, 2016 21 minutes ago, Mr.CoR said: قلت لك تأكد من اسامي المتغيرات لان اكوادك صحيحه 100% يب تسلم والله مدري امس وش كان فيني ههههههه معطي واحد كود سيرفر اقوله حطه في كلنت +_+ 1 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