MA[S]RIY Posted June 11, 2017 Share Posted June 11, 2017 السلام عليككم ابي اكواد تجيب اسامي الاعبين الي بالسرفر وتحطهم ب جريد ليست Link to comment
Simple. Posted June 11, 2017 Share Posted June 11, 2017 guiGridListClear getElementsByType -- Loop guiGridListAddRow guiGridListSetItemText getPlayerName Link to comment
AHMED MOSTAFA Posted June 11, 2017 Share Posted June 11, 2017 Just now, MARIY said: السلام عليككم ابي اكواد تجيب اسامي الاعبين الي بالسرفر وتحطهم ب جريد ليست المثال جاهز بالويكي guiCreateGridlist Link to comment
MA[S]RIY Posted June 11, 2017 Author Share Posted June 11, 2017 يعني ذا الكود نفس طلبي function createPlayerList () --Create the grid list element local playerList = guiCreateGridList ( 0.80, 0.10, 0.15, 0.60, true ) --Create a players column in the list local column = guiGridListAddColumn( playerList, "Player", 0.85 ) if ( column ) then --If the column has been created, fill it with players for id, player in ipairs(getElementsByType("player")) do local row = guiGridListAddRow ( playerList ) guiGridListSetItemText ( playerList, row, column, getPlayerName ( player ), false, false ) end end end Link to comment
AHMED MOSTAFA Posted June 11, 2017 Share Posted June 11, 2017 Just now, MARIY said: يعني ذا الكود نفس طلبي function createPlayerList () --Create the grid list element local playerList = guiCreateGridList ( 0.80, 0.10, 0.15, 0.60, true ) --Create a players column in the list local column = guiGridListAddColumn( playerList, "Player", 0.85 ) if ( column ) then --If the column has been created, fill it with players for id, player in ipairs(getElementsByType("player")) do local row = guiGridListAddRow ( playerList ) guiGridListSetItemText ( playerList, row, column, getPlayerName ( player ), false, false ) end end end ما ادري يمكن المفروض تحاول تجرب و تعرف ؟ يب بتجيب اسماء اللاعبين Link to comment
MA[S]RIY Posted June 11, 2017 Author Share Posted June 11, 2017 35 minutes ago, Killer Project said: ما ادري يمكن المفروض تحاول تجرب و تعرف ؟يب بتجيب اسماء اللاعبين شكرا اخي كيلر تمت الافاده 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