Thread: !Beautycase
View Single Post
10-10-11, 03:13 AM   #2
Ekaterina
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 65
Originally Posted by Jyces View Post
I am having huge problems with this addon. Everytime I try to input the code into the addon LUA file (ex. CreateBorder(SUFunitplayer, 12, r, g, b, 1, 1, 1, 1, 1, 1, 1, 1), the addon I am trying to get a border around completely disappears after refreshing the game (using /reload).
I think you may be passing incorrect arguments to the function.
r, g & b need to be values. And because your corners are all the same you can condense it.

Try:
local r, g, b = 1,1,1
CreateBorder(SUFUnitplayer, 12, r, g, b, 1)
  Reply With Quote