Simple. Posted August 4, 2015 Share Posted August 4, 2015 addEventHandler("onClientResourceStart", resourceRoot, function() Gblue = guiCreateGridList(428, 226, 245, 167, false) guiGridListAddColumn(Gblue, "#", 0.2) guiGridListAddColumn(Gblue, "player", 0.7) guiSetAlpha(Gblue, 0.80) guiSetVisible ( Gblue , false ) Gred = guiCreateGridList(167, 228, 245, 167, false) guiSetVisible ( Gred, false ) guiSetAlpha(Gred, 0.80) guiGridListAddColumn(Gred, "#", 0.2) guiGridListAddColumn(Gred, "Player", 0.7) end ) function ShowGridList ( ) local BlueTeam = getTeamFromName("Blue") local RedTeam = getTeamFromName("Red") guiGridListClear ( Gblue ) guiGridListClear ( Gred ) for k, v in ipairs( getElementsByType ("player") ) do if getPlayerTeam ( v ) == BlueTeam then local bRow = guiGridListAddRow( Gblue ) guiGridListSetItemText(Gblue, bRow, 1, k, true, false) guiGridListSetItemText(Gblue, bRow, 2, getPlayerName(v), true, false) elseif getPlayerTeam ( v ) == RedTeam then local rRow = guiGridListAddRow( Gred ) guiGridListSetItemText(Gblue, rRow, 1, k, true, false) guiGridListSetItemText(Gblue, rRow, 2, getPlayerName(v), true, false) end end end setTimer ( ShowGridList, 100, 1 ) addEventHandler ( 'onClientPlayerQuit', resourceRoot, ShowGridList ) addEventHandler ( 'onClientPlayerJoin', resourceRoot, ShowGridList ) addEventHandler ( 'onClientPlayerChangeNick', resourceRoot, ShowGridList ) Link to comment
Simple. Posted August 4, 2015 Share Posted August 4, 2015 ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ شغآل معي ! , انت عدلت شيء؟ وتأكد من اسامي التيمات كبيتل وسمول Blue Red Link to comment
M[ROYAL]R Posted August 4, 2015 Author Share Posted August 4, 2015 ما ظبط ممكن تعطينى ملف كلينت كامل Link to comment
#Mr.alkmasha Posted August 4, 2015 Share Posted August 4, 2015 جرب ذا اكيد شغال setTimer ( function ( ) guiGridListClear ( GUIEditor.gridlist[1] ) if guiGetVisible ( GUIEditor.window[1] ) then for k,v in ipairs(getPlayersInTeam(getTeamFromName("اسم التيم"))) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], row, 1, getPlayerName(v), false, false) end end end , 4000, 0 ) Link to comment
M[ROYAL]R Posted August 4, 2015 Author Share Posted August 4, 2015 ^ شارب شيء الاخو ؟ شو تقصد ب كلامك ؟ Link to comment
M[ROYAL]R Posted August 4, 2015 Author Share Posted August 4, 2015 جرب ذا اكيد شغال setTimer ( function ( ) guiGridListClear ( GUIEditor.gridlist[1] ) if guiGetVisible ( GUIEditor.window[1] ) then for k,v in ipairs(getPlayersInTeam(getTeamFromName("اسم التيم"))) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], row, 1, getPlayerName(v), false, false) end end end , 4000, 0 ) تماااام شغال شكرآ و شكرآ xClassiCx على تعبك معى Link to comment
~Mr.Hassan Posted August 4, 2015 Share Posted August 4, 2015 ^ شارب شيء الاخو ؟ اسحب عليه ذا نوب يبي يعمل مشاكل يقول اني ذا حسن مكي يمكن مهو شارب شيئ وجاي عم يهلوس لازم بكل موضوع تعمل مشكله Link to comment
Naif Posted August 4, 2015 Share Posted August 4, 2015 هلا حسن مكي .. كيف حالك ؟ تجنب من المشآكل أو اطرح سكايبك . زودتها شوي Link to comment
i S6O Posted August 5, 2015 Share Posted August 5, 2015 طيب ي رويال انا ساعدتكك ليه ماشكرتني ي سحبه Link to comment
M[ROYAL]R Posted August 5, 2015 Author Share Posted August 5, 2015 طيب ي رويال انا ساعدتكك ليه ماشكرتني ي سحبه تسلم عقيد لا تزعل 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