Quantcast
WoWInterface - View Single Post - Tags onUpdate
Thread: Tags onUpdate
View Single Post
01-02-19, 03:27 AM   #1
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 74
Tags onUpdate

Can someome explain me how to update the tag onUpdate?

Code:
-- PVP Timer
tags['myaddon:pvptimer'] = function(self, elapsed)


local sec = math.floor(GetPVPTimer()/1000)
		if( GetPVPTimer() >= 300000 ) then
			return nil
		end
		
		return string.format(GetPVPTimer() / 1000)
end
  Reply With Quote