[T]|O|[P]George Posted June 27, 2018 Share Posted June 27, 2018 (edited) addEventHandler( "onDgsGridListItemDoubleClick", root, function(b1,m1) if b1 == "left" and m1 == "down" then playSoundFrontEnd(42) local sel = x:dgsGridListGetSelectedItem(grid3) if sel ~= -1 then local ID = x:dgsGridListGetItemData(grid3, sel, 1) local Cost = x:dgsGridListGetItemData(grid3, sel, 2) local Ammo = x:dgsGridListGetItemData(grid3, sel, 3) triggerServerEvent("Get:somthing9898", localPlayer, ID, Cost, Ammo) end end end ) ابي يشيل الشيء المحدد بذا الكود x:dgsGridListSetSelectedItem بس ما يجي Edited June 27, 2018 by [T]|O|[P]George Link to comment
+Source|> Posted June 27, 2018 Share Posted June 27, 2018 (edited) 4 minutes ago, [T]|O|[P]George said: addEventHandler( "onDgsGridListItemDoubleClick", root, function(b1,m1) if b1 == "left" and m1 == "down" then playSoundFrontEnd(42) local sel = x:dgsGridListGetSelectedItem(grid3) if sel ~= -1 then local ID = x:dgsGridListGetItemData(grid3, sel, 1) local Cost = x:dgsGridListGetItemData(grid3, sel, 2) local Ammo = x:dgsGridListGetItemData(grid3, sel, 3) triggerServerEvent("onPlayerGetWeapon2", localPlayer, ID, Cost, Ammo) end end end ) ابي يشيل الشيء المحدد بذا الكود x:dgsGridListSetSelectedItem بس ما يجي تبيه يسوي يعني guiGridListRemoveRow Edited June 27, 2018 by +Source|> Link to comment
#Major . Posted June 27, 2018 Share Posted June 27, 2018 dgsGridListRemoveRow خش السيرفر 1 Link to comment
[T]|O|[P]George Posted June 27, 2018 Author Share Posted June 27, 2018 Just now, +Source|> said: تبيه يسوي يعني guiGridListRemoveRow لا كدا بيشيليه ابي ما يحدد الي كان محدد بالاول Just now, *RayaN-Alharbi. said: dgsGridListRemoveRow خش السيرفر ما ينفع لانها باقة لما ارجع بخش Link to comment
#Major . Posted June 27, 2018 Share Posted June 27, 2018 م فهمت الحين انت وش تبي تسوي ؟ تشيل التحديد عن الراو او تحذفه؟ 1 Link to comment
[T]|O|[P]George Posted June 27, 2018 Author Share Posted June 27, 2018 addEventHandler( "onDgsGridListItemDoubleClick", root, function() if (source == grid3) then playSoundFrontEnd(42) local sel = x:dgsGridListGetSelectedItem(grid3) if sel ~= -1 then local ID = x:dgsGridListGetItemData(grid3, sel, 1) local Cost = x:dgsGridListGetItemData(grid3, sel, 2) local Ammo = x:dgsGridListGetItemData(grid3, sel, 3) triggerServerEvent("Get:somthing9898", localPlayer, ID, Cost, Ammo) end end end ) لو خليته كدا يكون انحل بس المشكلة يكرر باللوحة Just now, *RayaN-Alharbi. said: م فهمت الحين انت وش تبي تسوي ؟ تشيل التحديد عن الراو او تحذفه؟ تشيل التحديد عنه Link to comment
#Major . Posted June 27, 2018 Share Posted June 27, 2018 Just now, *RayaN-Alharbi. said: م فهمت الحين انت وش تبي تسوي ؟ تشيل التحديد عن الراو او تحذفه؟ addEventHandler( "onDgsGridListItemDoubleClick", root, function(b1,m1) if b1 == "left" and m1 == "down" then playSoundFrontEnd(42) local sel = x:dgsGridListGetSelectedItem(grid3) if sel ~= -1 then local ID = x:dgsGridListGetItemData(grid3, sel, 1) local Cost = x:dgsGridListGetItemData(grid3, sel, 2) local Ammo = x:dgsGridListGetItemData(grid3, sel, 3) triggerServerEvent("onPlayerGetWeapon2", localPlayer, ID, Cost, Ammo) x:dgsGridListSetSelectedItem( grid3, -1 ) end end end ) جرب 1 Link to comment
[T]|O|[P]George Posted June 27, 2018 Author Share Posted June 27, 2018 2 minutes ago, *RayaN-Alharbi. said: addEventHandler( "onDgsGridListItemDoubleClick", root, function(b1,m1) if b1 == "left" and m1 == "down" then playSoundFrontEnd(42) local sel = x:dgsGridListGetSelectedItem(grid3) if sel ~= -1 then local ID = x:dgsGridListGetItemData(grid3, sel, 1) local Cost = x:dgsGridListGetItemData(grid3, sel, 2) local Ammo = x:dgsGridListGetItemData(grid3, sel, 3) triggerServerEvent("onPlayerGetWeapon2", localPlayer, ID, Cost, Ammo) x:dgsGridListSetSelectedItem( grid3, -1 ) end end end ) جرب اوك بجرب الحين 3 minutes ago, *RayaN-Alharbi. said: addEventHandler( "onDgsGridListItemDoubleClick", root, function(b1,m1) if b1 == "left" and m1 == "down" then playSoundFrontEnd(42) local sel = x:dgsGridListGetSelectedItem(grid3) if sel ~= -1 then local ID = x:dgsGridListGetItemData(grid3, sel, 1) local Cost = x:dgsGridListGetItemData(grid3, sel, 2) local Ammo = x:dgsGridListGetItemData(grid3, sel, 3) triggerServerEvent("onPlayerGetWeapon2", localPlayer, ID, Cost, Ammo) x:dgsGridListSetSelectedItem( grid3, -1 ) end end end ) جرب كفو عليك يا ريان Link to comment
[T]|O|[P]George Posted June 27, 2018 Author Share Posted June 27, 2018 حطيت لك + بخش السيرفر الحين بس ياريت تقللوا التحميل ..... 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