local timerr = {}
function convertMilliseconds ( timeMs )
local minutes = math.floor( timeMs / 60000 )
local timeMs = timeMs - minutes * 60000;
local seconds = math.floor( timeMs / 1000 )
return string.format( '%02d:%02d', minutes, seconds );
end
addCommandHandler ("the",
function ( player )
if isTimer ( timerr[player] ) then outputChatBox( "# You Have To Wait [ ".. convertMilliseconds ( getTimerDetails( timerr[player] ) ) .." ] !", player, 255, 0, 0 ) return end
outputChatBox("done",player,255,0,0)
timerr[player] = setTimer( function () end, 300000, 1 )
end
)