3ssol Posted April 15, 2013 Share Posted April 15, 2013 سلام عليكم شباب سويت قريد ليست بس ابي اسماء كل الاعبين الي في السيررفر يظهرون فيه ككككككككيف ! Link to comment
MSHOOSH Posted April 15, 2013 Share Posted April 15, 2013 https://wiki.multitheftauto.com/wiki/Ch ... layersName Link to comment
iMr.Dawix~# Posted April 15, 2013 Share Posted April 15, 2013 ابحث بالقسم بتلقا كثير وفيه موضوع جديد توه مطروح فيه Link to comment
3ssol Posted April 15, 2013 Author Share Posted April 15, 2013 GUIEditor_Grid[1] = guiCreateGridList(0,21,169,427,false,GUIEditor_Tab[2]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) changeGridListItemToPlayersName = function ( GridList, Column ) if GridList and Column then if getElementType ( GridList ) == "gui-gridlist" then if guiGridListClear ( GridList ) then for i, v in next, getElementsByType ( "player" ) do guiGridListSetItemText ( GridList, guiGridListAddRow ( GridList ), Column, getPlayerName ( v ), false, false ); end; end; end; end; end; guiGridListAddColumn(GUIEditor_Grid[1],"Player ",0.9) سويت كذا بس القريد ليست ماتغير فيه شي وين الخطا ؟ Link to comment
MSHOOSH Posted April 15, 2013 Share Posted April 15, 2013 GUIEditor_Grid[1] = guiCreateGridList(0,21,169,427,false,GUIEditor_Tab[2]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) changeGridListItemToPlayersName = function ( GridList, Column ) if GridList and Column then if getElementType ( GridList ) == "gui-gridlist" then if guiGridListClear ( GridList ) then for i, v in next, getElementsByType ( "player" ) do guiGridListSetItemText ( GridList, guiGridListAddRow ( GridList ), Column, getPlayerName ( v ), false, false ); end; end; end; end; end; guiGridListAddColumn(GUIEditor_Grid[1],"Player ",0.9) سويت كذا بس القريد ليست ماتغير فيه شي وين الخطا ؟ اولا guiCreateGridList guiGridListAddColumn بعدين changeGridListItemToPlayersName ( grid, col ); مثال wnd = guiCreateWindow ( 100, 100, 400, 400, "Test", false ); -- اضافة نافذه grid = guiCreateGridList ( 25, 30, 350, 350, false, wnd ); -- اضافه قريد col = guiGridListAddColumn ( grid, "Players", 0.9 ); -- اضافه عمود changeGridListItemToPlayersName ( grid, col ); -- ربط القريد ب العمود 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