</Mr.Tn6eL> Posted November 24, 2013 Share Posted November 24, 2013 ابي مود قائمة الاعبين player list Link to comment
K1NG Posted November 24, 2013 Share Posted November 24, 2013 guiCreateGridList Example 1: This example creates a player list on the right of the screen and fills it -- Client Side # 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
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