Jump to content

x[خطا]x وش الخطا


Recommended Posts

سلام عليكم شباب ابي افهم بس وش الخطا هنا جاني شلل نصفي+_+

   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
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
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 by Master_MTA
Link to comment

تأكد من اسامي المتغيرات حقت القريدليست

والكولمن

وتأكد انك محدد الرو يوم تضغط الزر

وبرضو تأكد من متغير الزر

وجرب اكتب في اف ٨

debugscript 3 

ثم سوي ريفرش للمود 

اذا طلع لك كلام تحت صوره

Link to comment
15 hours ago, Mr.CoR said:

تأكد من اسامي المتغيرات حقت القريدليست

والكولمن

وتأكد انك محدد الرو يوم تضغط الزر

وبرضو تأكد من متغير الزر

وجرب اكتب في اف ٨

debugscript 3 

ثم سوي ريفرش للمود 

اذا طلع لك كلام تحت صوره

مافي اي شي بالدي بق

Link to comment
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
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 by Master_MTA
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...