setTimer (
function ( )
guiGridListClear( NONE )
local g = getPlayersSortByaPlayTime ( )
for i = 1, 20 do
local aRow = guiGridListAddRow( NONE )
if ( g [ i ] )then
guiGridListSetItemText( NONE, aRow, 1, i ..'-', false, false )
guiGridListSetItemText( NONE, aRow, 2, getPlayerName( g [ i ].player ):gsub( "#%x%x%x%x%x%x", "" ), false, false )
guiGridListSetItemText( NONE, aRow, 3, convertNumber( g [ i ].PlayTime ), false, false )
guiGridListSetItemColor( NONE, aRow, 1, 255, 255, 0 )
guiGridListSetItemColor( NONE, aRow, 2, 255, 0, 0 )
guiGridListSetItemColor( NONE, aRow, 3, 0, 255, 0 )
end
end
end
,50, 0 )
جربءء