Jump to content

{قريت ليست}


Recommended Posts

السلام عليكم انا عندي قريت ليست

وابيه يجيب لي من قريت ليست جميع لاعبين

ولي معاهم رتبة فيب يظهر لونهم

اخضولي مما معاهم يظهر لونهم احمر

=========================

ملاحظة حطيتها بموضوع سابقة ولم تتم الافادة

:idea:

مرجو الافادة في هده مرة

ابي متال جاهز

:roll:

Link to comment
function GetPlayersInList ()  
    guiGridListClear(Gridlist) 
    for i,v in ipairs(getElementsByType('player')) do  
        if getElementData(v,'Vip') then 
            local row = guiGridListAddRow(Gridlist); 
            guiGridListSetItemText(Gridlist,row,1,string.gsub(getPlayerName(v), "#%x%x%x%x%x%x", ""),false,false) 
            guiGridListSetItemColor(Gridlist,row,1,0,255,0)   
        else 
            local row = guiGridListAddRow(Gridlist); 
            guiGridListSetItemText(Gridlist,row,1,string.gsub(getPlayerName(v), "#%x%x%x%x%x%x", ""),false,false) 
            guiGridListSetItemColor(Gridlist,row,1,255,0,0)           
        end 
    end 
end 

Link to comment

^ بـ امكانك تسويه كذا .

function GetPlayersInList ( ) 
guiGridListClear ( GridList ) 
for i,v in ipairs ( getElementsByType("player") ) do  
local Row = guiGridListAddRow ( GridList ) 
guiGridListSetItemText ( GridList , Row , 1 ,  getPlayerName(v):gsub ( "#%x%x%x%x%x%x", "" ) , false , false ) 
if ( getElementData ( v , "VIP" ) ) then  
guiGridListSetItemColor ( GridList , Row , 1 , 0 , 255 , 0 ) 
else 
guiGridListSetItemColor ( GridList , Row , 1 , 255 , 0 , 0 ) 
end 
end 
end 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...