Master_MTA Posted November 9, 2016 Share Posted November 9, 2016 سلام عليكم شباب وش الخطا هنا بالله addEventHandler( "onClientGUIDoubleClick", grid, doubleClickedName, false ) function doubleClickedName( ) local sel2 = guiGridListGetSelectedItem(grid) local x,y,z = unpack(guiGridListGetItemData(grid,se12,1)) setElementPosition(localPlayer,x,y,z) end 15 minutes ago, Master_MTA said: سلام عليكم شباب وش الخطا هنا بالله addEventHandler( "onClientGUIDoubleClick", grid, doubleClickedName, false )function doubleClickedName( ) local sel2 = guiGridListGetSelectedItem(grid) local x,y,z = unpack(guiGridListGetItemData(grid,se12,1)) setElementPosition(localPlayer,x,y,z) end يغلق تم حل المشكله والحل الصحيح هو function use() local row, col = guiGridListGetSelectedItem(grid) local x,y,z = unpack(guiGridListGetItemData(grid,row,1)) setElementPosition(localPlayer,x,y,z) end addEventHandler("onClientDoubleClick", root, use, false) 1 Link to comment
Master_MTA Posted November 9, 2016 Author Share Posted November 9, 2016 2 minutes ago, #BrosS said: مشكور يكفي انك مريت واسف على ازعاجك Link to comment
#BrosS Posted November 9, 2016 Share Posted November 9, 2016 مافي مشكل حياك الله مجرد طقطقة Link to comment
Master_MTA Posted November 9, 2016 Author Share Posted November 9, 2016 8 minutes ago, #BrosS said: مافي مشكل حياك الله مجرد طقطقة +_+ اخوي معليش بس في مشكله انو كذا يسويها لما اضغط اي زر في اي لوحه ثانيه هل تقدر تخليها لهاذي اللوحه فقط Link to comment
!#NssoR_) Posted November 9, 2016 Share Posted November 9, 2016 غير الكود لهذا الشكل وبتنحل بإذن الله function use() local row, col = guiGridListGetSelectedItem(grid) local x,y,z = unpack(guiGridListGetItemData(grid,row,1)) setElementPosition(localPlayer,x,y,z) end addEventHandler("onClientDoubleClick", grid, use) Link to comment
Abdul KariM Posted November 9, 2016 Share Posted November 9, 2016 @!#NssoR_) شكلك اليوم مزود الجرعه 2 Link to comment
!#NssoR_) Posted November 9, 2016 Share Posted November 9, 2016 السهر ومايسوي , يخليك تكتب اشياء ماتدري وش هي addEventHandler('onClientGUIDoubleClick',grid, function () local row, col = guiGridListGetSelectedItem(grid) if ( row ~= -1 ) then local x,y,z = unpack(guiGridListGetItemData(grid, row, col)) setElementPosition(localPlayer,x,y,z) end end,false) 1 Link to comment
Master_MTA Posted November 10, 2016 Author Share Posted November 10, 2016 14 hours ago, !#NssoR_) said: غير الكود لهذا الشكل وبتنحل بإذن الله function use() local row, col = guiGridListGetSelectedItem(grid) local x,y,z = unpack(guiGridListGetItemData(grid,row,1)) setElementPosition(localPlayer,x,y,z) end addEventHandler("onClientDoubleClick", grid, use) اخوي جربت ما يزبط 13 hours ago, !#NssoR_) said: السهر ومايسوي , يخليك تكتب اشياء ماتدري وش هي addEventHandler('onClientGUIDoubleClick',grid, function () local row, col = guiGridListGetSelectedItem(grid) if ( row ~= -1 ) then local x,y,z = unpack(guiGridListGetItemData(grid, row, col)) setElementPosition(localPlayer,x,y,z) end end,false) يعطيك العافيه اخوي 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