Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-02-19, 03:27 AM   #1
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 75
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
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Tags onUpdate


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off