Dr.Marco Posted July 18, 2016 Share Posted July 18, 2016 السلام عليكم انا عندي قريت ليست وابيه يجيب لي من قريت ليست جميع لاعبين ولي معاهم رتبة فيب يظهر لونهم اخضولي مما معاهم يظهر لونهم احمر ========================= ملاحظة حطيتها بموضوع سابقة ولم تتم الافادة مرجو الافادة في هده مرة ابي متال جاهز Link to comment
POWER_LY Posted July 18, 2016 Share Posted July 18, 2016 function GetPlayersInList () guiGridListClear(Gridlist) for i,v in ipairs(getElementsByType('player')) do if getElementData(v,'Vip') then local row = guiGridListAddRow(Gridlist); guiGridListSetItemText(Gridlist,row,1,string.gsub(getPlayerName(v), "#%x%x%x%x%x%x", ""),false,false) guiGridListSetItemColor(Gridlist,row,1,0,255,0) else local row = guiGridListAddRow(Gridlist); guiGridListSetItemText(Gridlist,row,1,string.gsub(getPlayerName(v), "#%x%x%x%x%x%x", ""),false,false) guiGridListSetItemColor(Gridlist,row,1,255,0,0) end end end Link to comment
' A F . Posted July 18, 2016 Share Posted July 18, 2016 ^ بـ امكانك تسويه كذا . function GetPlayersInList ( ) guiGridListClear ( GridList ) for i,v in ipairs ( getElementsByType("player") ) do local Row = guiGridListAddRow ( GridList ) guiGridListSetItemText ( GridList , Row , 1 , getPlayerName(v):gsub ( "#%x%x%x%x%x%x", "" ) , false , false ) if ( getElementData ( v , "VIP" ) ) then guiGridListSetItemColor ( GridList , Row , 1 , 0 , 255 , 0 ) else guiGridListSetItemColor ( GridList , Row , 1 , 255 , 0 , 0 ) end end end 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