FRoTE-502 Posted July 15, 2015 Share Posted July 15, 2015 سلام عليكم ورحمة الله وبركاته انا سويت اديت بحث ابي يبحث عن داخل قريد لست ... ! شكرا مقدمآ . Link to comment
; Mr.T76eM # Posted July 15, 2015 Share Posted July 15, 2015 ----------------=[search !]=----------------- addEventHandler("onClientGUIChanged",root, function () if ( source == Edit ) then -- اسم الايديت local text = guiGetText(Edit) if ( text == "" ) then players() -- هنا تحط اسم الفنكشن الي سويته عشان تجيب الاعبين للقريد لست else guiGridListClear(the gridList) for i,v in ipairs(getElementsByType("player")) do local name = getPlayerName(v) if string.find(string.upper(name),string.upper(guiGetText(Edit))) then local row = guiGridListAddRow(the GridList) guiGridListSetItemText(the GridList,row,1,name,false,false) guiGridListSetItemColor(the GridList,row,1,255,255,0) end end end end end ) اذا ما فهمت شيء تفضل بالرد موفق Link to comment
FRoTE-502 Posted July 15, 2015 Author Share Posted July 15, 2015 ----------------=[search !]=----------------- addEventHandler("onClientGUIChanged",root, function () if ( source == Edit ) then -- اسم الايديت local text = guiGetText(Edit) if ( text == "" ) then players() -- هنا تحط اسم الفنكشن الي سويته عشان تجيب الاعبين للقريد لست else guiGridListClear(the gridList) for i,v in ipairs(getElementsByType("player")) do local name = getPlayerName(v) if string.find(string.upper(name),string.upper(guiGetText(Edit))) then local row = guiGridListAddRow(the GridList) guiGridListSetItemText(the GridList,row,1,name,false,false) guiGridListSetItemColor(the GridList,row,1,255,255,0) end end end end end ) اذا ما فهمت شيء تفضل بالرد موفق انا مابغى اسم الاعب يجي في قريد لست ابي شي ثاني Link to comment
; Mr.T76eM # Posted July 15, 2015 Share Posted July 15, 2015 خذ الاكواد الي فوق وعدل عليها خليها للي تبيه كيف نقدر نفيدك وانت مو معطينا معلومات كفاية 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