Mhmd.z Posted October 30, 2015 Share Posted October 30, 2015 السلام عليكم ورحمة الله وبركاته انا مسوي لوحة ييجي فيها اسماء الاعبين الي بالسيرفر , ابي فنكشنات اني اسوي مستطيل بحث عن الاسماء Link to comment
Rockyz Posted October 30, 2015 Share Posted October 30, 2015 اتوقع انك تقصد بحث ؟اذا كان بحث فهذي الفنكشنات الي تحتاجها Event # 'onClientGUIChanged' function # -- loop جلب جميع اللاعبني guiGetText string.find guiGridListClear guiGridListAddRow getPlayerName guiGridListSetItemText Link to comment
Mhmd.z Posted October 30, 2015 Author Share Posted October 30, 2015 طيب سؤال بتعرف كيف اسوي انه لو الاعب ضغط زر ييجي بالجيرد ليست انه ضغط الزر لكن كل الاعبين تشوف بالجيرد ليست Link to comment
' A F . Posted October 30, 2015 Share Posted October 30, 2015 'onClientGUIClick' triggerServerEvent getElementsByType triggerClientEvent guiGridListAddRow getPlayerName guiGridListSetItemText Link to comment
z24d Posted October 30, 2015 Share Posted October 30, 2015 (edited) function searchFromGrid(GridList,name) if guiGridListClear ( GridList ) then for i, v in next, getElementsByType ( "player" ) do if not string.find(getPlayerName(v),name) then return end local Row = guiGridListAddRow ( GridList ) guiGridListSetItemText ( GridList, Row, 1, getPlayerName ( v ), false, false ) end end end -- addEventHandler("onClientGUIChanged",root, function () if source == اسم الفراغ الابيض then searchFromGrid( اسم القريد لست,guiGetText( اسم الفراغ الابيض)) end end ) Edited October 30, 2015 by Guest Link to comment
' A F . Posted October 30, 2015 Share Posted October 30, 2015 ^ إذا الكود مو لك مو لازم ترد getPlayerTime ؟؟؟؟ 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