View Single Post
01-31-09, 09:52 AM   #597
Alkar
A Chromatic Dragonspawn
 
Alkar's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 195
Originally Posted by Wimpface View Post
I hope i don't misunderstand you, but here goes:
Code:
local r, g, b
local class = select(2, UnitClass('player'))
if class then
	r = RAID_CLASS_COLORS[class].r
	g = RAID_CLASS_COLORS[class].g
	b = RAID_CLASS_COLORS[class].b
end

SetBackdropColor(r, g, b)
Hope this helps!

That works perfect Wimp thank u only thing is that it changes all of them to my class color not the class color of each fram like in party the hunter would be green pally pink so on and so forth... and target is whatever class color it would be
__________________