Ahmed Ly Posted April 30, 2016 Share Posted April 30, 2016 (edited) تم مسح -- s:lol: --> Edited April 30, 2016 by Guest Link to comment
Adham Posted April 30, 2016 Share Posted April 30, 2016 يعني تبي كل الاسماء الفي سرفر في القريد لست؟ Link to comment
Simple. Posted April 30, 2016 Share Posted April 30, 2016 حط local row = guiGridListAddRow(GUIEditor.gridlist[1]) داخل اللوب Link to comment
Ahmed Ly Posted April 30, 2016 Author Share Posted April 30, 2016 يعني تبي كل الاسماء الفي سرفر في القريد لست؟ يب Link to comment
Ahmed Ly Posted April 30, 2016 Author Share Posted April 30, 2016 حط local row = guiGridListAddRow(GUIEditor.gridlist[1]) داخل اللوب كيف داخل اللوب يعني نحط تحت اللوب؟ Link to comment
Adham Posted April 30, 2016 Share Posted April 30, 2016 function update () guiGridListClear(grid) for i,v in ipairs (getElementsByType("player")) do local rp = guiGridListAddRow (grid) guiGridListSetItemText (grid,rp,1,getPlayerName(v),false,false) end end addEventHandler ("onClientResourceStart",resourceRoot,update) addEventHandler ("onClientPlayerJoin",root,update) addEventHandler ("onClientPlayerChangeNick",root,update) addEventHandler ("onClientPlayerQuit",root,update) Link to comment
Simple. Posted April 30, 2016 Share Posted April 30, 2016 (edited) حط local row = guiGridListAddRow(GUIEditor.gridlist[1]) داخل اللوب كيف داخل اللوب يعني نحط تحت اللوب؟ -- Edited May 1, 2016 by Guest Link to comment
Ahmed Ly Posted April 30, 2016 Author Share Posted April 30, 2016 حط local row = guiGridListAddRow(GUIEditor.gridlist[1]) داخل اللوب كيف داخل اللوب يعني نحط تحت اللوب؟ function getPlayers () guiGridListClear(GUIEditor.gridlist[1]) for id, player in ipairs ( getElementsByType ( "player" ) ) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],row,1,getFixedName(player),false,false) guiGridListSetItemText(GUIEditor.gridlist[1],row,2,getElementData(player,"Damege") or 0,false,false) guiGridListSetItemText(GUIEditor.gridlist[1],row,3,getElementData(player,"Kills") or 0,false,false) guiGridListSetItemColor(GUIEditor.gridlist[1], row, 1, 231, 33, 61, 214) guiGridListSetItemColor(GUIEditor.gridlist[1], row, 2, 13, 42, 42, 214) guiGridListSetItemColor(GUIEditor.gridlist[1], row, 3, 120, 136, 78, 214) end end addEventHandler("onClientRoundFinish",root,getPlayers) addEventHandler("onClientRoundStart",root,getPlayers) addEventHandler ("onClientResourceStart",resourceRoot,getPlayers) مشكوووووووووووور Link to comment
Ahmed Ly Posted April 30, 2016 Author Share Posted April 30, 2016 حط local row = guiGridListAddRow(GUIEditor.gridlist[1]) داخل اللوب كيف داخل اللوب يعني نحط تحت اللوب؟ function getPlayers () guiGridListClear(GUIEditor.gridlist[1]) for id, player in ipairs ( getElementsByType ( "player" ) ) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],row,1,getFixedName(player),false,false) guiGridListSetItemText(GUIEditor.gridlist[1],row,2,getElementData(player,"Damege") or 0,false,false) guiGridListSetItemText(GUIEditor.gridlist[1],row,3,getElementData(player,"Kills") or 0,false,false) guiGridListSetItemColor(GUIEditor.gridlist[1], row, 1, 231, 33, 61, 214) guiGridListSetItemColor(GUIEditor.gridlist[1], row, 2, 13, 42, 42, 214) guiGridListSetItemColor(GUIEditor.gridlist[1], row, 3, 120, 136, 78, 214) end end addEventHandler("onClientRoundFinish",root,getPlayers) addEventHandler("onClientRoundStart",root,getPlayers) addEventHandler ("onClientResourceStart",resourceRoot,getPlayers) اخوي اسف بس ي ريت تمسح كود Link to comment
Ahmed Ly Posted May 1, 2016 Author Share Posted May 1, 2016 :vاخوي اسف بس ي ريت تمسح كود ??? 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