^ بـ امكانك تسويه كذا .
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