function showTextDisplay ( player, command )
local serverDisplay = textCreateDisplay()
textDisplayAddObserver ( serverDisplay, player )
local serverText = textCreateTextItem ( "Server Time:", 0.5, 0.5 )
textDisplayAddText ( serverDisplay, serverText )
end
addCommandHandler( "showText", showTextDisplay )
function showtime ()
local time = getRealTime()
local hours = time.hour
local minutes = time.minute
end
Something like this?